Merge pull request #319 from sunaoka/hotfix/py3

Fix unichr() to chr()
pull/320/head
Cosimo Lupo 2020-08-18 09:11:04 +01:00 committed by GitHub
commit 0cdf6f96ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ def _generate_row_cells(
return 'missing'
def _text_cell(text_dir):
text = ''.join(unichr(cp) for cp in key)
text = ''.join(chr(cp) for cp in key)
return '<span class="efont" dir="%s">%s</span>' % (text_dir, text)
if font: