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‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if'Windows'inplatform.system():
2525
importrequests
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
defsha256sum(filename, blocksize=65536):

0 commit comments

Comments
(0)