From c34664a370e6a4f6f1cc12daf8ade1a60fa3e98c Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Thu, 14 May 2020 15:45:19 +0200 Subject: [PATCH] replace backslashes with forwardslashed in nukestudio --- pype/nukestudio/lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pype/nukestudio/lib.py b/pype/nukestudio/lib.py index e0e6d8750c..3a8e35f100 100644 --- a/pype/nukestudio/lib.py +++ b/pype/nukestudio/lib.py @@ -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]