mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
reverting backslash removal
This commit is contained in:
parent
84e77a9707
commit
489a502550
1 changed files with 1 additions and 1 deletions
|
|
@ -2302,7 +2302,7 @@ Reopening Nuke should synchronize these paths and resolve any discrepancies.
|
|||
if env_path in path:
|
||||
# with regsub we make sure path format of slashes is correct
|
||||
resub_expr = (
|
||||
"[regsub -all {{\\}} [getenv {}] \"/\"]").format(env_var)
|
||||
"[regsub -all {{\\\\}} [getenv {}] \"/\"]").format(env_var)
|
||||
|
||||
new_path = path.replace(
|
||||
env_path, resub_expr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue