diff --git a/pype/nuke/lib.py b/pype/nuke/lib.py index 90c00faa98..8e241dad16 100644 --- a/pype/nuke/lib.py +++ b/pype/nuke/lib.py @@ -619,7 +619,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"]))