Browse Source

move_symlink proper function

pull/1642/head
Ruud 12 years ago
parent
commit
cb0b6614c6
  1. 2
      couchpotato/core/plugins/renamer/main.py

2
couchpotato/core/plugins/renamer/main.py

@ -529,7 +529,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
shutil.copy(old, dest)
elif self.conf('file_action') == 'move_symlink':
shutil.move(old, dest)
linktastic.symlink(dest, old)
symlink(dest, old)
else:
shutil.move(old, dest)

Loading…
Cancel
Save