From d8662f56e6b5f25eba23295f51349e015b0343ca Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Mon, 16 Mar 2020 19:57:42 +0100 Subject: [PATCH] fix(nuke): mixed slashes issue on ocio config path --- pype/nuke/lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pype/nuke/lib.py b/pype/nuke/lib.py index e7720c747c..68a73dffac 100644 --- a/pype/nuke/lib.py +++ b/pype/nuke/lib.py @@ -620,7 +620,8 @@ class WorkfileSettings(object): # third set ocio custom path if root_dict.get("customOCIOConfigPath"): self._root_node["customOCIOConfigPath"].setValue( - str(root_dict["customOCIOConfigPath"]).format(**os.environ) + str(root_dict["customOCIOConfigPath"]).format( + **os.environ).replace("\\", "/") ) log.debug("nuke.root()['{}'] changed to: {}".format( "customOCIOConfigPath", root_dict["customOCIOConfigPath"]))