From f8898d01ce5680c58792c293241a2c1bede8149a Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Mon, 28 Nov 2016 19:20:51 -0800 Subject: py: fix python3 compatibility error --- py/makeqstrdefs.py | 1 + 1 file changed, 1 insertion(+) (limited to 'py/makeqstrdefs.py') diff --git a/py/makeqstrdefs.py b/py/makeqstrdefs.py index 9001bf996..e39bac883 100644 --- a/py/makeqstrdefs.py +++ b/py/makeqstrdefs.py @@ -19,6 +19,7 @@ if platform.python_version_tuple()[0] == '2': elif platform.python_version_tuple()[0] == '3': bytes_cons = bytes from html.entities import name2codepoint + unichr = chr # end compatibility code # Blacklist of qstrings that are specially handled in further -- cgit v1.2.3