From e3f6df712077d471e83c55df2e7b5c6d1a0a3b3d Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 9 Mar 2014 23:47:33 +0100 Subject: [PATCH] Convert sp to unicode --- couchpotato/core/helpers/encoding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/helpers/encoding.py b/couchpotato/core/helpers/encoding.py index 0b85f64b..f896a62e 100644 --- a/couchpotato/core/helpers/encoding.py +++ b/couchpotato/core/helpers/encoding.py @@ -76,7 +76,7 @@ def sp(path, *args): # Replace *NIX ambiguous '//' at the beginning of a path with '/' (crashes guessit) path = re.sub('^//', '/', path) - return path + return toUnicode(path) def ek(original, *args):