upcomingEvents: Ignore all hidden events, not just "[TEMPLATE FOR COPYING]"
This commit is contained in:
parent
f4f813c98f
commit
5e2fd5d427
@ -43,7 +43,7 @@ def main():
|
|||||||
events_list = "\n<hr />\n\n".join(
|
events_list = "\n<hr />\n\n".join(
|
||||||
format_event(membershipworks, event)
|
format_event(membershipworks, event)
|
||||||
for event in events["evt"]
|
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>
|
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>
|
<p>Greetings Upper Valley Makers:</p>
|
||||||
|
Reference in New Issue
Block a user