From 38cb9f40f8869aca94cdf6a4457acb5b748ce0b7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 4 Jan 2022 15:20:01 +0200 Subject: [PATCH] sdf --- files/helpers/alerts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 418cae630..a17edd921 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -59,7 +59,7 @@ def notif_comment(text, autojanny=False): for i in re.finditer("

@((\w|-){1,25})", text_html): u = get_user(i.group(1), graceful=True) if u: - text_html = text_html.replace(f'

@{u.username}', f'

@{u.username}') + text_html = text_html.replace(f'

@{u.username}', f'

@{u.username}') existing = g.db.query(Comment.id).filter_by(author_id=author_id, parent_submission=None, distinguish_level=6, body_html=text_html, created_utc=0).first()