mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix source path, not destination path (#5702)
This commit is contained in:
parent
2c7fc21601
commit
597ea86876
1 changed files with 2 additions and 2 deletions
4
start.py
4
start.py
|
|
@ -366,8 +366,8 @@ def run_disk_mapping_commands(settings):
|
|||
destination = destination.replace("/", "\\").rstrip("\\")
|
||||
source = source.replace("/", "\\").rstrip("\\")
|
||||
# Add slash after ':' ('G:' -> 'G:\')
|
||||
if destination.endswith(":"):
|
||||
destination += "\\"
|
||||
if source.endswith(":"):
|
||||
source += "\\"
|
||||
else:
|
||||
destination = destination.rstrip("/")
|
||||
source = source.rstrip("/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue