From 7b5b748d23353750d8d4f0776714dac4ac24c7ea Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 18 May 2013 22:45:09 +0200 Subject: [PATCH] Failed joining unicode and none unicode paths fix #1447 --- couchpotato/core/plugins/renamer/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index 30a57a7b..dd0ea46b 100644 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -204,6 +204,7 @@ class Renamer(Plugin): cd = 1 if multiple else 0 for current_file in sorted(list(group['files'][file_type])): + current_file = toUnicode(current_file) # Original filename replacements['original'] = os.path.splitext(os.path.basename(current_file))[0]