Fix issue when there is no gns3_controller.conf. Fixes https://github.com/GNS3/gns3-gui/issues/2644

pull/1481/head
grossmj 6 years ago
parent 58b2ee152d
commit 0fd54536d2

@ -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)

Loading…
Cancel
Save