From 7dbba20618d13e88da83ca3558954baafa947528 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 23 Jan 2012 23:13:07 +0100 Subject: [PATCH] Remove extension from --- couchpotato/core/plugins/renamer/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index 1d7a1ff..51ea75d 100644 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -136,7 +136,7 @@ class Renamer(Plugin): for current_file in sorted(list(group['files'][file_type])): # Original filename - replacements['original'] = os.path.basename(current_file) + replacements['original'] = os.path.splitext(os.path.basename(current_file))[0] replacements['original_folder'] = os.path.basename(os.path.dirname(current_file)) # Extension