mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-06-28 03:10:59 +02:00
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():
|
||||
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):
|
||||
|
Reference in New Issue
Block a user