From d7280a3f6dd303b4b43f39a988c490aec5f3322e Mon Sep 17 00:00:00 2001 From: Huy Pham <42948410+hpham@users.noreply.github.com> Date: Mon, 4 Nov 2019 16:24:35 -0800 Subject: [PATCH] work on emane config --- coretk/coretk/canvasaction.py | 1 - coretk/coretk/coreclient.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/coretk/coretk/canvasaction.py b/coretk/coretk/canvasaction.py index f45086ab..60df71b0 100644 --- a/coretk/coretk/canvasaction.py +++ b/coretk/coretk/canvasaction.py @@ -45,5 +45,4 @@ class CanvasAction: def display_emane_configuration(self): app = self.canvas.core.app dialog = EmaneConfiguration(self.master, app, self.node_to_show_config) - print(dialog) dialog.show() diff --git a/coretk/coretk/coreclient.py b/coretk/coretk/coreclient.py index d36932df..a6d4f19c 100644 --- a/coretk/coretk/coreclient.py +++ b/coretk/coretk/coreclient.py @@ -136,7 +136,7 @@ class CoreClient: response = self.client.get_mobility_configs(self.session_id) logging.info("mobility configs: %s", response) for node_id in response.configs: - node_config = response.config[node_id].config + node_config = response.configs[node_id].config config = {x: node_config[x].value for x in node_config} self.mobilityconfig_management.configurations[node_id] = config