fixes files not been moved to destination when overwrite=False

This commit is contained in:
edson duarte 2018-06-06 16:52:37 -03:00 committed by Mahmoud Hashemi
parent 6b0721b6ae
commit e53b93581e
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ else:
os.rename(src, dst)
else:
os.link(src, dst)
os.unlink(dst)
os.unlink(src)
return