fix ppl not getting kicked from !verifiedrich when their paypig expires

pull/199/head
Aevann 2023-09-14 02:48:20 +03:00
parent 08a5fd6f54
commit 12a3d7b026
1 changed files with 1 additions and 1 deletions

View File

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