Skip to content

Commit 54a5d76

Browse files
author
blue-2357
committed
Unicode support in get.py (#781)
Localized versions of Linux systems use Unicode characters in the names of standard directories like "Downloads".
1 parent 3f56b4e commit 54a5d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/get.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if 'Windows' in platform.system():
2525
import requests
2626

27-
current_dir = os.path.dirname(os.path.realpath(__file__))
27+
current_dir = os.path.dirname(os.path.realpath(unicode(__file__)))
2828
dist_dir = current_dir + '/dist/'
2929

3030
def sha256sum(filename, blocksize=65536):

0 commit comments

Comments
 (0)