Browse Source

Use shutil for rename in updater

pull/767/merge
Ruud 13 years ago
parent
commit
10052b7e86
  1. 2
      couchpotato/core/_base/updater/main.py

2
couchpotato/core/_base/updater/main.py

@ -305,7 +305,7 @@ class SourceUpdater(BaseUpdater):
if not os.path.isdir(dirname):
self.makeDir(dirname)
os.rename(fromfile, tofile)
shutil.move(fromfile, tofile)
try:
existing_files.remove(tofile)
except ValueError:

Loading…
Cancel
Save