From a0cac80ca21c74db54efe8f41cef7c5f6d5f7a39 Mon Sep 17 00:00:00 2001 From: Dot Date: Sun, 9 Oct 2022 17:15:45 +0530 Subject: [PATCH] Emoji Fix --- lib/fmt/png.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fmt/png.py b/lib/fmt/png.py index 8e3ba0b..d1fbd17 100644 --- a/lib/fmt/png.py +++ b/lib/fmt/png.py @@ -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]