fix: add default value to .get for emoji replacement
@@ -125,7 +125,7 @@ def extract_emojis(text: str) -> List[str]:
"""
emojis_in_text = _emoji.emoji_list(text)
emojis_converted = [
- convert_emoji_to_text(emoji_text.get("emoji")) for emoji_text in emojis_in_text
+ convert_emoji_to_text(emoji_text.get("emoji", "")) for emoji_text in emojis_in_text
]
return emojis_converted
