From 780fb35b450599ee9629eb2ef06184790915fb6f Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 5 Feb 2012 17:18:41 +0100 Subject: [PATCH] Don't always move leftovers --- couchpotato/core/plugins/renamer/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index 059ce6a..98c7b10 100644 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -182,8 +182,9 @@ class Renamer(Plugin): # Do rename others else: - if self.conf('move_leftover') and file_type is 'leftover': - rename_files[current_file] = os.path.join(destination, final_folder_name, os.path.basename(current_file)) + 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)) else: rename_files[current_file] = os.path.join(destination, final_folder_name, final_file_name)