From f76d9f41fdb7cdd755a814da536ad30ec347e848 Mon Sep 17 00:00:00 2001 From: Victoria Earl Date: Wed, 15 May 2024 12:59:16 -0400 Subject: [PATCH] Only send claim emails to placeholder badges --- uber/automated_emails.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/uber/automated_emails.py b/uber/automated_emails.py index 92b92b082..49b0a9ec7 100644 --- a/uber/automated_emails.py +++ b/uber/automated_emails.py @@ -527,13 +527,13 @@ def volunteer_placeholder(a): return a.placeholder and a.registered_local > c.PR # TODO: Add an email for MIVS judges, an email for non-Guest or Band guest group badges, # and an email for group-leader-created badges -def generic_placeholder(a): return a.placeholder and c.AT_THE_CON or (not panelist_placeholder(a) - and not band_placeholder(a) - and not guest_placeholder(a) - and not dealer_placeholder(a) - and a.registered_local > min(c.PREREG_OPEN, - c.DEALER_REG_START) - and not volunteer_placeholder(a)) +def generic_placeholder(a): return a.placeholder and (c.AT_THE_CON or not panelist_placeholder(a) + and not band_placeholder(a) + and not guest_placeholder(a) + and not dealer_placeholder(a) + and a.registered_local > min(c.PREREG_OPEN, + c.DEALER_REG_START) + and not volunteer_placeholder(a)) AutomatedEmailFixture(