Fix Snapshot restore does not work with IOS routers

Fix https://github.com/GNS3/gns3-gui/issues/1583
This commit is contained in:
Julien Duponchelle committed 2016-10-18 16:19:14 +02:00
1 parent 8055547936
commit 19be2d85b7
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -584,10 +584,10 @@ class Project:
"""
Delete the project on computes but not on controller
"""
for compute in self._project_created_on_compute:
for compute in list(self._project_created_on_compute):
if compute.id != "local":
yield from compute.delete("/projects/{}".format(self._id))
self._project_created_on_compute = set()
self._project_created_on_compute.remove(compute)
@classmethod
def _get_default_project_directory(cls):