ruud was bulling me ;)

This commit is contained in:
Joel Kåberg committed 2013-04-05 14:07:10 +02:00
1 parent 57ae06e139
commit 47ddf31f76
2 files changed
+7 -13

No files matched your search

+2 -2
View File
@@ -524,9 +524,9 @@ class Renamer(Plugin):
def moveFile(self, old, dest):
dest = ss(dest)
try:
if self.conf('hardlink') and not self.conf('symlink'):
if self.conf('link') == 'hard':
linktastic.link(old, dest)
elif self.conf('symlink') and not self.conf('hardlink'):
elif self.conf('link') == 'sym':
linktastic.symlink(old, dest)
else:
shutil.move(old, dest)