1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Ensure to dump project before exporting it

Fix #951
This commit is contained in:
Julien Duponchelle 2017-03-20 14:57:20 +01:00
parent c8b46bdcab
commit 0997998064
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -702,6 +702,7 @@ class Project:
if self._status == "closed":
yield from self.open()
self.dump()
try:
with tempfile.TemporaryDirectory() as tmpdir:
zipstream = yield from export_project(self, tmpdir, keep_compute_id=True, allow_all_nodes=True)