diff options
Diffstat (limited to 'ranger/ext/shutil_generatorized.py')
-rw-r--r-- | ranger/ext/shutil_generatorized.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/ext/shutil_generatorized.py b/ranger/ext/shutil_generatorized.py index 07455c4f..0a736351 100644 --- a/ranger/ext/shutil_generatorized.py +++ b/ranger/ext/shutil_generatorized.py @@ -46,8 +46,8 @@ def _samefile(src, dst): return False # All other platforms: check for same pathname. - return (os.path.normcase(os.path.abspath(src)) == - os.path.normcase(os.path.abspath(dst))) + return (os.path.normcase(abspath(src)) == + os.path.normcase(abspath(dst))) def copyfile(src, dst): """Copy data from src to dst""" |