mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-16 06:18:19 +00:00
Fix crash when loading a topology without project id
This commit is contained in:
@ -122,7 +122,7 @@ def _convert_1_3_later(topo, topo_path):
|
||||
"version": __version__,
|
||||
"auto_start": topo.get("auto_start", False),
|
||||
"name": topo["name"],
|
||||
"project_id": topo["project_id"],
|
||||
"project_id": topo.get("project_id"),
|
||||
"topology": {
|
||||
"links": [],
|
||||
"drawings": [],
|
||||
|
Reference in New Issue
Block a user