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)