reverting backslash removal

This commit is contained in:
Jakub Jezek 2023-10-18 12:15:18 +02:00
parent 84e77a9707
commit 489a502550
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -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