Fix monthly jannie patron badge granting.

pull/34/head
Snakes 2022-11-30 23:29:02 -05:00
parent 45a36ed726
commit 4585323275
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 1 additions and 0 deletions

View File

@ -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: