forked from espressif/arduino-esp32
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:
@ -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):
|
||||||
|
Reference in New Issue
Block a user