Fix export of projects with docker with a / in the image name

Fix #834
This commit is contained in:
Julien Duponchelle committed 2016-12-14 18:57:59 +01:00
1 parent 1b6411f88e
commit 74a7e630d3
2 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ def _export_project_file(project, path, z, include_images, keep_compute_id, allo
if not keep_compute_id:
node["compute_id"] = "local" # To make project portable all node by default run on local
if "properties" in node and node["node_type"] != "Docker":
if "properties" in node and node["node_type"] != "docker":
for prop, value in node["properties"].items():
if prop.endswith("image"):
if not keep_compute_id: # If we keep the original compute we can keep the image path