Browse Source

Don't always move leftovers

pull/84/head
Ruud 13 years ago
parent
commit
780fb35b45
  1. 3
      couchpotato/core/plugins/renamer/main.py

3
couchpotato/core/plugins/renamer/main.py

@ -182,7 +182,8 @@ 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':
if self.conf('move_leftover'):
rename_files[current_file] = os.path.join(destination, final_folder_name, os.path.basename(current_file)) 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)

Loading…
Cancel
Save