Unicode support in get.py (#781)
Localized versions of Linux systems use Unicode characters in the names of standard directories like "Downloads".
This commit is contained in:
parent
a276ae0bf3
commit
b7db2da17c
@ -24,7 +24,7 @@ else:
|
|||||||
if 'Windows' in platform.system():
|
if 'Windows' in platform.system():
|
||||||
import requests
|
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/'
|
dist_dir = current_dir + '/dist/'
|
||||||
|
|
||||||
def sha256sum(filename, blocksize=65536):
|
def sha256sum(filename, blocksize=65536):
|
||||||
|
Loading…
Reference in New Issue
Block a user