mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
normalize paths when added to queue
This commit is contained in:
parent
272fd1eece
commit
c764dc20c6
1 changed files with 2 additions and 2 deletions
|
|
@ -66,8 +66,8 @@ class FileTransaction(object):
|
|||
"""Add a new file to transfer queue"""
|
||||
opts = {"mode": mode}
|
||||
|
||||
src = os.path.abspath(src)
|
||||
dst = os.path.abspath(dst)
|
||||
src = os.path.normpath(os.path.abspath(src))
|
||||
dst = os.path.normpath(os.path.abspath(dst))
|
||||
|
||||
if dst in self._transfers:
|
||||
queued_src = self._transfers[dst][0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue