move_symlink proper function
This commit is contained in:
1 parent
177063d39c
commit
cb0b6614c6
1 file changed
+1
-1
@@ -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)
|
shutil.copy(old, dest)
|
||||||
elif self.conf('file_action') == 'move_symlink':
|
elif self.conf('file_action') == 'move_symlink':
|
||||||
shutil.move(old, dest)
|
shutil.move(old, dest)
|
||||||
linktastic.symlink(dest, old)
|
symlink(dest, old)
|
||||||
else:
|
else:
|
||||||
shutil.move(old, dest)
|
shutil.move(old, dest)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user