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:
Patas007 2017-10-30 10:43:08 +01:00 committed by Me No Dev
parent a276ae0bf3
commit b7db2da17c

View File

@ -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):