fix root path

This commit is contained in:
iLLiCiTiT 2020-01-08 19:31:58 +01:00
parent 3cf559afba
commit bf24580b6f

View file

@ -171,7 +171,7 @@ class Delivery(BaseAction):
"<i>NOTE: It is possible to replace `root` key in anatomy.</i>"
)
})
items.append({
"type": "text",
"name": "__location_path__",
@ -306,7 +306,7 @@ class Delivery(BaseAction):
if location_path:
anatomy_data["root"] = location_path
else:
anatomy_data["root"] = pipeline.registered_root()
anatomy_data["root"] = os.environ.get("AVALON_PROJECTS") or ""
anatomy_filled = anatomy.format(anatomy_data)
test_path = (