Browse Source

Encode before path join

pull/3252/head
Ruud 11 years ago
parent
commit
b87c00c041
  1. 2
      couchpotato/core/plugins/scanner.py

2
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(root, filename)) for filename in walk_files])
files.extend([sp(os.path.join(toUnicode(root), toUnicode(filename))) for filename in walk_files])
# Break if CP wants to shut down
if self.shuttingDown():

Loading…
Cancel
Save