Fix crash when loading a topology without project id

This commit is contained in:
Julien Duponchelle committed 2016-08-31 09:42:58 +02:00
1 parent 7065988087
commit 03e31a2cb9
3 files changed
+39 -1

No files matched your search

+1 -1
View File
@@ -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": [],