[utils] Preliminary fix for Python2 with non-ASCII paths

This commit is contained in:
Yen Chi Hsuan 2015-12-20 18:57:14 +08:00
parent c0450e2014
commit e556aa643d

View File

@ -2582,7 +2582,7 @@ def get_root_dirs():
# ../../ of youtube_dl/utils.py
ret.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
return ret
return map(decodeFilename, ret)
def find_file_in_root(file_path):