From 0fd54536d27443a20b2f8cf4f1dfcf0262eb32e5 Mon Sep 17 00:00:00 2001 From: grossmj Date: Fri, 30 Nov 2018 19:09:10 +0800 Subject: [PATCH] Fix issue when there is no gns3_controller.conf. Fixes https://github.com/GNS3/gns3-gui/issues/2644 --- gns3server/controller/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/controller/__init__.py b/gns3server/controller/__init__.py index 9cee4404..ecf2208f 100644 --- a/gns3server/controller/__init__.py +++ b/gns3server/controller/__init__.py @@ -328,6 +328,7 @@ class Controller: try: if not os.path.exists(self._config_file): await self._import_gns3_gui_conf() + self._config_loaded = True self.save() with open(self._config_file) as f: controller_settings = json.load(f)