From d39093b28665b280f41adaa7febf523287787296 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 1 Feb 2023 20:35:42 +0200 Subject: [PATCH] fix marseybux disbursing --- files/helpers/cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index f1ba28ca1..22b06878d 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -129,7 +129,7 @@ def _give_monthly_marseybux_task(): for u in g.db.query(User).filter(User.patron > 0, User.patron_utc == 0).all(): g.db.add(u) - if u.admin_level or u.id in GUMROAD_MESSY: + if u.admin_level or u.id == 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: