From e556aa643d738e51313d469fe819ad625eeae908 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Sun, 20 Dec 2015 18:57:14 +0800 Subject: [PATCH] [utils] Preliminary fix for Python2 with non-ASCII paths --- youtube_dl/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 7e94bddeb..235c1318b 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -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):