Skip to content

Commit

Permalink
Fix path slashes
Browse files Browse the repository at this point in the history
Signed-off-by: amorphousWaste <20346603+amorphousWaste@users.noreply.github.com>
  • Loading branch information
amorphousWaste authored and Jawabiscuit committed Sep 15, 2023
1 parent 9d0bdde commit db30108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rezplugins/shell/_utils/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def uprepl(match):
)

# Fwdslash -> backslash
path = path.replace('/', '\\')
path = path.replace('\\', '/')

# ${XYZ};c:/ -> C:/
if _drive_regex_mixed.match(path):
Expand Down

0 comments on commit db30108

Please sign in to comment.