upcomingEvents: Ignore all hidden events, not just "[TEMPLATE FOR COPYING]"

This commit is contained in:
Adam Goldsmith 2023-05-03 11:02:57 -04:00
parent f4f813c98f
commit 5e2fd5d427

View File

@ -43,7 +43,7 @@ def main():
events_list = "\n<hr />\n\n".join(
format_event(membershipworks, event)
for event in events["evt"]
if event["ttl"] != "[TEMPLATE FOR COPYING]"
if event["cal"] != 0 # ignore hidden events
)
header = """<p><img class="aligncenter size-medium wp-image-2319" src="https://claremontmakerspace.org/wp-content/uploads/2019/03/CMS-Logo-b-y-g-300x168.png" alt="" width="300" height="168" /></a></p>
<p>Greetings Upper Valley Makers:</p>