From f74eeded317f549c78c106eb4589df76fa5c3ac6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 30 Sep 2021 23:22:22 +0200 Subject: [PATCH] fdsfds --- files/helpers/sanitize.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index cffae474e2..5257df9c42 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -217,8 +217,7 @@ def sanitize(sanitized, noimages=False): if start in sanitized and end in sanitized and start in sanitized.split(end)[0] and end in sanitized.split(start)[1]: sanitized = sanitized.replace(start, '').replace(end, '') - print(sanitized) - for i in re.finditer("^(\s+)?((:[\w]+:)+(\s+)?)+", sanitized.replace("

", "").replace("

", "")): + for i in re.finditer("^(\s+)?((:[\w]+:)+(\s+)?)+", sanitized.replace("

", "").replace("

", ""), re.MULTILINE): print(i) emojis = i.group(0).lower() print(emojis)