Some more encoding

This commit is contained in:
Ruud
2012-01-14 21:09:26 +01:00
parent 199c17e2c1
commit f4a4bca7a9
2 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
from couchpotato import get_session
from couchpotato.core.event import fireEvent, addEvent
from couchpotato.core.helpers.encoding import toUnicode, simplifyString
from couchpotato.core.helpers.encoding import toUnicode, simplifyString, ek
from couchpotato.core.helpers.variable import getExt, getImdb, tryInt
from couchpotato.core.logger import CPLog
from couchpotato.core.plugins.base import Plugin
@@ -145,7 +145,7 @@ class Scanner(Plugin):
# Scan all files of the folder if no files are set
if len(files) == 0:
files = []
for root, dirs, walk_files in os.walk(folder):
for root, dirs, walk_files in os.walk(ek(folder)):
for filename in walk_files:
files.append(os.path.join(root, filename))