Don't always move leftovers

This commit is contained in:
Ruud committed 2012-02-05 17:18:41 +01:00
1 parent d085976090
commit 780fb35b45
1 file changed
+3 -2
+3 -2
View File
@@ -182,8 +182,9 @@ class Renamer(Plugin):
# Do rename others # Do rename others
else: else:
if self.conf('move_leftover') and file_type is 'leftover': if file_type is 'leftover':
rename_files[current_file] = os.path.join(destination, final_folder_name, os.path.basename(current_file)) if self.conf('move_leftover'):
rename_files[current_file] = os.path.join(destination, final_folder_name, os.path.basename(current_file))
else: else:
rename_files[current_file] = os.path.join(destination, final_folder_name, final_file_name) rename_files[current_file] = os.path.join(destination, final_folder_name, final_file_name)