mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixing paths slashes in nuke api
This commit is contained in:
parent
cd9ec2b73a
commit
d3c1b84835
1 changed files with 3 additions and 2 deletions
|
|
@ -2107,8 +2107,9 @@ class WorkfileSettings(object):
|
||||||
|
|
||||||
# set ocio config path
|
# set ocio config path
|
||||||
if config_data:
|
if config_data:
|
||||||
|
config_path = config_data["path"].replace("\\", "/")
|
||||||
log.info("OCIO config path found: `{}`".format(
|
log.info("OCIO config path found: `{}`".format(
|
||||||
config_data["path"]))
|
config_path))
|
||||||
|
|
||||||
# check if there's a mismatch between environment and settings
|
# check if there's a mismatch between environment and settings
|
||||||
correct_settings = self._is_settings_matching_environment(
|
correct_settings = self._is_settings_matching_environment(
|
||||||
|
|
@ -2233,7 +2234,7 @@ Reopening Nuke should synchronize these paths and resolve any discrepancies.
|
||||||
Returns:
|
Returns:
|
||||||
str: OCIO config path with environment variable TCL expression
|
str: OCIO config path with environment variable TCL expression
|
||||||
"""
|
"""
|
||||||
config_path = config_data["path"]
|
config_path = config_data["path"].replace("\\", "/")
|
||||||
config_template = config_data["template"]
|
config_template = config_data["template"]
|
||||||
|
|
||||||
included_vars = self._get_included_vars(config_template)
|
included_vars = self._get_included_vars(config_template)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue