Merge pull request #481 from GNS3/import_linux

Flatten the project at export and support import for Linux
This commit is contained in:
Jeremy Grossmann committed 2016-04-06 11:55:46 -06:00
commit 6bc54b17c7
3 files changed
+136 -7

No files matched your search

+1 -1
View File
@@ -405,7 +405,7 @@ class ProjectHandler:
if not packet:
break
temp.write(packet)
project.import_zip(temp)
project.import_zip(temp, gns3vm=bool(request.GET.get("gns3vm", "1")))
except OSError as e:
raise aiohttp.web.HTTPInternalServerError(text="Could not import the project: {}".format(e))