From 84a05d6019c4ab7cfd1e8e7b068b9bab31eaa302 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 31 Dec 2023 03:09:05 +0200 Subject: [PATCH] remove unnecessary shit --- files/helpers/sanitize.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 4fb695929..b35c60059 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -260,14 +260,14 @@ def render_emoji(html, regexp, golden, emojis_used, b=False, is_title=False): genocide_attr = ' cide' if is_genocided else '' modifier_html = '' - if (is_talking and is_patted): + if is_talking and is_patted: modifier_html = f'{talking_html}{hand_html}' if is_talking_first else f'{hand_html}{talking_html}' - elif (is_patted): + elif is_patted: modifier_html = hand_html - elif (is_talking): + elif is_talking: modifier_html = talking_html - if(is_loved): + if is_loved: modifier_html = f'{modifier_html}{loved_html}' if (is_patted and emoji != 'marseyunpettable') or is_talking or is_genocided or is_loved: