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:
parent
9ed15e55af
commit
5531a576d1
@ -391,7 +391,7 @@ class ProjectHandler:
|
|||||||
|
|
||||||
pm = ProjectManager.instance()
|
pm = ProjectManager.instance()
|
||||||
project_id = request.match_info["project_id"]
|
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
|
# We write the content to a temporary location
|
||||||
# and after extract all. It could be more optimal to stream
|
# and after extract all. It could be more optimal to stream
|
||||||
|
Loading…
Reference in New Issue
Block a user