From b7db2da17cc799baf1f8f1843a7b55ea507cf6dd Mon Sep 17 00:00:00 2001 From: Patas007 Date: Mon, 30 Oct 2017 10:43:08 +0100 Subject: [PATCH] Unicode support in get.py (#781) Localized versions of Linux systems use Unicode characters in the names of standard directories like "Downloads". --- tools/get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/get.py b/tools/get.py index fe9c8ea9..e7adb370 100755 --- a/tools/get.py +++ b/tools/get.py @@ -24,7 +24,7 @@ else: if 'Windows' in platform.system(): import requests -current_dir = os.path.dirname(os.path.realpath(__file__)) +current_dir = os.path.dirname(os.path.realpath(unicode(__file__))) dist_dir = current_dir + '/dist/' def sha256sum(filename, blocksize=65536):