1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00

Fix never reached condition

This commit is contained in:
ziajka 2018-03-05 11:16:03 +01:00
parent 419797dd92
commit 53a229f8e9

View File

@ -121,7 +121,7 @@ class Controller:
for vm in vms: for vm in vms:
# remove deprecated properties # remove deprecated properties
for prop in vm.copy(): for prop in vm.copy():
if prop in ["enable_remote_console", "use_ubridge", "default_symbol", "hover_symbol"]: if prop in ["enable_remote_console", "use_ubridge"]:
del vm[prop] del vm[prop]
# remove deprecated default_symbol and hover_symbol # remove deprecated default_symbol and hover_symbol