From 6df66a19a9fcc34715322b239ea6474d96bf6158 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 16 Nov 2023 13:12:23 +0200 Subject: [PATCH] remove bad shit --- files/helpers/useractions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/helpers/useractions.py b/files/helpers/useractions.py index 68c236f3b..e1abbfff4 100644 --- a/files/helpers/useractions.py +++ b/files/helpers/useractions.py @@ -25,8 +25,6 @@ def badge_grant(user, badge_id, description=None, url=None, notify=True): g.db.flush() if notify: - notif = send_repeatable_notification(user.id, + send_repeatable_notification(user.id, "@AutoJanny has given you the following profile badge:\n\n" + f"{badge.path}\n\n**{badge.name}**\n\n{badge.badge.description}") - if notif: - notif.created_utc -= 1