Skip to content

Commit b7db2da

Browse files
Patas007me-no-dev
authored andcommitted
Unicode support in get.py (espressif#781)
Localized versions of Linux systems use Unicode characters in the names of standard directories like "Downloads".
1 parent a276ae0 commit b7db2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/get.py

+1-1
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)