From 4585323275db55315605202bb41c190c0c9734dc Mon Sep 17 00:00:00 2001 From: Snakes Date: Wed, 30 Nov 2022 23:29:02 -0500 Subject: [PATCH] Fix monthly jannie patron badge granting. --- files/helpers/cron.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index 687b9b316..b8b10207f 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -131,6 +131,7 @@ def _give_monthly_marseybux_task(): g.db.add(u) if u.admin_level or u.id in GUMROAD_MESSY: give_marseybux(u) + badge_grant(badge_id=20+u.patron, user=u, notify=False) elif u.email and u.is_activated and u.email.lower() in emails: data = {'access_token': GUMROAD_TOKEN, 'email': u.email} try: