nukestudio workio expect session by new avalon-core change

This commit is contained in:
iLLiCiTiT 2020-02-26 18:50:33 +01:00
parent c005090874
commit fd3fcbd3ff

View file

@ -73,5 +73,5 @@ def current_file():
return normalised
def work_root():
return os.path.normpath(api.Session["AVALON_WORKDIR"]).replace("\\", "/")
def work_root(session):
return os.path.normpath(session["AVALON_WORKDIR"]).replace("\\", "/")