From 8ab4bd092713f25db38088a6626e0596f236a9ab Mon Sep 17 00:00:00 2001 From: Victoria Earl Date: Mon, 25 Sep 2023 10:32:48 -0400 Subject: [PATCH] Update pending email compare date We've had this feature off for MAGFest for a while, so we need the clock to start later --- uber/tasks/registration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uber/tasks/registration.py b/uber/tasks/registration.py index 9296d2fda..859481493 100644 --- a/uber/tasks/registration.py +++ b/uber/tasks/registration.py @@ -157,7 +157,7 @@ def email_pending_attendees(): for badge in pending_badges: # Update `compare_date` to prevent early deletion of badges registered before a certain date # Implemented for MFF 2023 but let's be honest, we'll probably need it again - compare_date = max(badge.registered, datetime(2023, 9, 12, tzinfo=pytz.UTC)) + compare_date = max(badge.registered, datetime(2023, 9, 25, tzinfo=pytz.UTC)) if compare_date < four_days_old: badge.badge_status = c.INVALID_STATUS session.commit()