move_symlink proper function

This commit is contained in:
Ruud
2013-04-12 21:14:45 +02:00
parent 177063d39c
commit cb0b6614c6

View File

@@ -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)