replace backslashes with forwardslashed in nukestudio

This commit is contained in:
iLLiCiTiT 2020-05-14 15:45:19 +02:00
parent 2c854faadf
commit c34664a370

View file

@ -38,9 +38,9 @@ def sync_avalon_data_to_workfile():
anatomy = Anatomy(project_name)
work_template = anatomy.templates["work"]["path"]
work_root = anatomy.root_value_for_template(work_template)
active_project_root = os.path.normpath(
active_project_root = (
os.path.join(work_root, project_name)
)
).replace("\\", "/")
# getting project
project = hiero.core.projects()[-1]