mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-4617 - fix - os.path.samefile not present on Python2
This commit is contained in:
parent
ff80b73de8
commit
a03ce5d6fe
1 changed files with 1 additions and 1 deletions
|
|
@ -189,6 +189,6 @@ class FileTransaction(object):
|
|||
def _same_paths(self, src, dst):
|
||||
# handles same paths but with C:/project vs c:/project
|
||||
if os.path.exists(src) and os.path.exists(dst):
|
||||
return os.path.samefile(src, dst)
|
||||
return os.stat(src) == os.stat(dst)
|
||||
|
||||
return src == dst
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue