mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Dissallow export when node are running and are not always running
Fix #677
This commit is contained in:
parent
37f972dea1
commit
ee50790ab5
@ -635,7 +635,8 @@ class Project:
|
||||
If a node is started or paused return True
|
||||
"""
|
||||
for node in self._nodes.values():
|
||||
if node.status != "stopped":
|
||||
# Some node type are always running we ignore them
|
||||
if node.status != "stopped" and node.node_type in ("qemu", "docker", "dynamips", "vpcs", "vmware", "virtualbox", "iou"):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user