mirror of
https://github.com/chubin/wttr.in
synced 2025-01-26 02:34:59 +00:00
Emoji Fix
This commit is contained in:
parent
0097d022e8
commit
a0cac80ca2
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ def _script_category(char):
|
|||
default, Cyrillic, Greek, Han, Hiragana
|
||||
"""
|
||||
|
||||
if char in emoji.UNICODE_EMOJI:
|
||||
if emoji.is_emoji(char):
|
||||
return "Emoji"
|
||||
|
||||
cat = unicodedata2.script_cat(char)[0]
|
||||
|
|
Loading…
Reference in a new issue