mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Do not erase the IOU config
This commit is contained in:
1 parent
d5ae4750e9
commit
324a4f73d0
3 files changed
+26
-2
No files matched your search
@@ -973,7 +973,7 @@ class IOUVM(BaseVM):
|
||||
if len(initial_config) == 0 and os.path.exists(initial_config_path):
|
||||
return
|
||||
|
||||
with open(initial_config_path, "w+", encoding="utf-8") as f:
|
||||
with open(initial_config_path, 'w+', encoding='utf-8') as f:
|
||||
if len(initial_config) == 0:
|
||||
f.write('')
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user