Skip to content

Commit

Permalink
Only send claim emails to placeholder badges
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsuta committed May 15, 2024
1 parent ac90373 commit f76d9f4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions uber/automated_emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f76d9f4

Please sign in to comment.