membershipworks: Don't create event meeting times where end <= start in sync
All checks were successful
Ruff / ruff (push) Successful in 2m20s
Test / test (push) Successful in 5m55s

This commit is contained in:
Adam Goldsmith 2024-06-12 07:54:07 -04:00
parent 12271ef327
commit 654136d476

View File

@ -159,6 +159,7 @@ def scrape_events():
if ( if (
event_ext.end is not None event_ext.end is not None
and event_ext.end > event_ext.start
and event_ext.end - event_ext.start < MAX_MEETING_TIME and event_ext.end - event_ext.start < MAX_MEETING_TIME
): ):
meeting_times_count = event_ext.meeting_times.count() meeting_times_count = event_ext.meeting_times.count()