When importing a project fix the GNS3 version

This commit is contained in:
Julien Duponchelle
2016-07-22 11:43:14 +02:00
parent 9b499dc51e
commit 94a262cd46
7 changed files with 98 additions and 13 deletions

View File

@ -235,7 +235,6 @@ class ProjectHandler:
controller = Controller.instance()
project = controller.get_project(request.match_info["project_id"])
with tempfile.TemporaryDirectory() as tmp_dir:
datas = yield from export_project(project, tmp_dir, include_images=bool(request.GET.get("include_images", "0")))
# We need to do that now because export could failed and raise an HTTP error