From 12f440b71e89cff19845c5e496fbe28f68338f4e Mon Sep 17 00:00:00 2001 From: Tristian Howard Date: Tue, 28 Aug 2012 20:53:09 -0400 Subject: [PATCH] Conflict with Windows cp1252 and UTF-8. fix #692 --- couchpotato/core/providers/trailer/hdtrailers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/trailer/hdtrailers/main.py b/couchpotato/core/providers/trailer/hdtrailers/main.py index 258902b..35594ee 100644 --- a/couchpotato/core/providers/trailer/hdtrailers/main.py +++ b/couchpotato/core/providers/trailer/hdtrailers/main.py @@ -100,7 +100,7 @@ class HDTrailers(TrailerProvider): return results def movieUrlName(self, string): - safe_chars = letters + digits + ' ' + safe_chars = ascii_letters + digits + ' ' r = ''.join([char if char in safe_chars else ' ' for char in string]) name = re.sub('\s+' , '-', r).lower()