mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Fix cannot delete Dynamips router the content of the "usage" field. Fixes https://github.com/GNS3/gns3-gui/issues/2947
This commit is contained in:
parent
615cffd9ac
commit
6aed064a86
@ -493,7 +493,7 @@ class Dynamips(BaseManager):
|
||||
await vm.set_sparsemem(False)
|
||||
|
||||
usage = settings.get("usage")
|
||||
if usage and usage != vm.usage:
|
||||
if usage is not None and usage != vm.usage:
|
||||
vm.usage = usage
|
||||
|
||||
# update the configs if needed
|
||||
|
Loading…
Reference in New Issue
Block a user