diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-11-28 19:20:51 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-11-28 19:20:51 -0800 |
| commit | f8898d01ce5680c58792c293241a2c1bede8149a (patch) | |
| tree | 638d20a2c3325ce101060ce08838c54620932e58 | |
| parent | 78f85652705289dee24d80291c264fe77244d08f (diff) | |
py: fix python3 compatibility error
| -rw-r--r-- | py/makeqstrdefs.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
