move_symlink proper function

This commit is contained in:
Ruud committed 2013-04-12 21:14:45 +02:00
1 parent 177063d39c
commit cb0b6614c6
1 file changed
+1 -1
+1 -1
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)