From 51a25f4e1a945e5913aa1959be36c053594b0c59 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 14 Jan 2024 11:41:45 +0200 Subject: [PATCH] fix prev commit --- files/routes/holes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/holes.py b/files/routes/holes.py index 7d642af20..64e770065 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -389,8 +389,8 @@ def create_sub2(v): mod = Mod(user_id=v.id, hole=hole.name) g.db.add(mod) - - text_html = sanitize(f":!marseyparty: /h/{hole} has been created by @{v.username} :marseyparty:", blackjack="notification") + text = f":!marseyparty: /h/{hole} has been created by @{v.username} :marseyparty:" + text_html = sanitize(text, blackjack="notification") cid = create_comment(text_html) t = time.time() - 604800