Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2718d69

Browse filesBrowse files
alecthegeekme-no-dev
authored andcommitted
Python 3 fails, unicode is not needed or supplied (espressif#1082)
See https://stackoverflow.com/questions/6812031/how-to-make-unicode-string-with-python3 May unicode an alias for str()
1 parent da46d0b commit 2718d69
Copy full SHA for 2718d69

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎tools/get.py

Copy file name to clipboardExpand all lines: tools/get.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import re
1818
if sys.version_info[0] == 3:
1919
from urllib.request import urlretrieve
20+
unicode = lambda s: str(s)
2021
else:
2122
# Not Python 3 - today, it is most likely to be Python 2
2223
from urllib import urlretrieve

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.