diff --git a/zenmap/radialnet/gui/NodeNotebook.py b/zenmap/radialnet/gui/NodeNotebook.py index 5c5b51789..bf91ab99d 100644 --- a/zenmap/radialnet/gui/NodeNotebook.py +++ b/zenmap/radialnet/gui/NodeNotebook.py @@ -729,9 +729,9 @@ class TraceroutePage(BWVBox): self.__trace_scroll.add_with_viewport(self.__trace_treeview) - self.__trace_info = {port = self.__node.get_info('trace')['port'], - proto = self.__node.get_info('trace')['protocol'], - hops = len(self.__node.get_info('trace')['hops'])} + self.__trace_info = {'port': self.__node.get_info('trace')['port'], + 'proto': self.__node.get_info('trace')['protocol'], + 'hops': len(self.__node.get_info('trace')['hops'])} self.__trace_label = BWLabel(TRACE_TEXT % self.__trace_info) self.__trace_label.set_use_markup(True) diff --git a/zenmap/zenmapGUI/App.py b/zenmap/zenmapGUI/App.py index 6e9778228..e654dcb2c 100644 --- a/zenmap/zenmapGUI/App.py +++ b/zenmap/zenmapGUI/App.py @@ -229,7 +229,7 @@ The specific error was scan profiles. Check for access to the directory and try again.""") % { 'dirname': repr(Path.user_config_dir), 'configdir': repr(Path.config_dir), - 'error': repr(str(e)), zenmap = APP_DISPLAY_NAME + 'error': repr(str(e)), 'zenmap': APP_DISPLAY_NAME } ) error_dialog.run()