Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c8aab17

Browse files
committedOct 30, 2017
Unicode support in get.py (#781)
Localized versions of Linux systems use Unicode characters in the names of standard directories like "Downloads".
1 parent 38e8cc5 commit c8aab17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/get.py

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.