Skip to content

Commit f8898d0

Browse files
committed
py: fix python3 compatibility error
1 parent 78f8565 commit f8898d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

py/makeqstrdefs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
elif platform.python_version_tuple()[0] == '3':
2020
bytes_cons = bytes
2121
from html.entities import name2codepoint
22+
unichr = chr
2223
# end compatibility code
2324

2425
# Blacklist of qstrings that are specially handled in further

0 commit comments

Comments
 (0)