From 441e3d90b1e92938144025db4efc68aa44353773 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 23 Nov 2022 21:58:59 +0100 Subject: [PATCH] Fix formatting --- app/utils/emoji.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/emoji.py b/app/utils/emoji.py index e533bae..da4867c 100644 --- a/app/utils/emoji.py +++ b/app/utils/emoji.py @@ -23,7 +23,7 @@ def _load_emojis(root_dir: Path, base_url: str) -> None: mt = mimetypes.guess_type(emoji.name)[0] if mt and mt.startswith("image/"): name = emoji.name.split(".")[0] - if not re.match(EMOJI_REGEX, f':{name}:'): + if not re.match(EMOJI_REGEX, f":{name}:"): continue ap_emoji: "RawObject" = { "type": "Emoji",