From ee50790ab50902933e3dcb062058ed34ce4295fc Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 15 Sep 2016 18:48:14 +0200 Subject: [PATCH] Dissallow export when node are running and are not always running Fix #677 --- gns3server/controller/project.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gns3server/controller/project.py b/gns3server/controller/project.py index e3d6c94f..8a4c98c8 100644 --- a/gns3server/controller/project.py +++ b/gns3server/controller/project.py @@ -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