1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-24 15:58:08 +00:00

Import create project if not exists (GNS3 VM just need an UUID)

This commit is contained in:
Julien Duponchelle 2016-04-05 19:23:37 +02:00
parent 9ed15e55af
commit 5531a576d1
No known key found for this signature in database
GPG Key ID: F1E2485547D4595D

View File

@ -391,7 +391,7 @@ class ProjectHandler:
pm = ProjectManager.instance()
project_id = request.match_info["project_id"]
project = pm.get_project(project_id)
project = pm.create_project(project_id=project_id)
# We write the content to a temporary location
# and after extract all. It could be more optimal to stream