From 12a3d7b02664a9cd7b954fe9aee35f8be8d52cb7 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 14 Sep 2023 02:48:20 +0300 Subject: [PATCH] fix ppl not getting kicked from !verifiedrich when their paypig expires --- 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 133bda459..10b87cd66 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -347,7 +347,7 @@ def _process_timer(attr, badge_ids, text, extra_attrs={}): for uid in uids: send_repeatable_notification(uid, text) - if attr == User.patron_utc: + if attr == 'patron_utc': verifiedrich_memberships = g.db.query(GroupMembership).filter( GroupMembership.user_id.in_(uids), GroupMembership.group_name == 'verifiedrich'