From 311a2798dd3a93315335244e9e6df1e0104b2b41 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 11 May 2014 18:58:14 +0200 Subject: [PATCH] Revert "Encode before path join" This reverts commit b87c00c041828f949267b73a6d47f5de2efbc0f6. --- couchpotato/core/plugins/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/scanner.py b/couchpotato/core/plugins/scanner.py index 0568f5e6..167e76cd 100644 --- a/couchpotato/core/plugins/scanner.py +++ b/couchpotato/core/plugins/scanner.py @@ -151,7 +151,7 @@ class Scanner(Plugin): try: files = [] for root, dirs, walk_files in scandir.walk(folder, followlinks=True): - files.extend([sp(os.path.join(toUnicode(root), toUnicode(filename))) for filename in walk_files]) + files.extend([sp(os.path.join(root, filename)) for filename in walk_files]) # Break if CP wants to shut down if self.shuttingDown():