Skip to content

Commit

Permalink
Fix unichr() to chr()
Browse files Browse the repository at this point in the history
  • Loading branch information
sunaoka committed Aug 18, 2020
1 parent d5e2614 commit 8df1e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_emoji_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _cell(info, basepath):
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:
Expand Down

0 comments on commit 8df1e03

Please sign in to comment.