From 654136d4767946ad49ef4c0dc393465bc6743f23 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 12 Jun 2024 07:54:07 -0400 Subject: [PATCH] membershipworks: Don't create event meeting times where end <= start in sync --- membershipworks/tasks/scrape.py | 1 + 1 file changed, 1 insertion(+) diff --git a/membershipworks/tasks/scrape.py b/membershipworks/tasks/scrape.py index 9796bdf..ada35e3 100644 --- a/membershipworks/tasks/scrape.py +++ b/membershipworks/tasks/scrape.py @@ -159,6 +159,7 @@ def scrape_events(): if ( event_ext.end is not None + and event_ext.end > event_ext.start and event_ext.end - event_ext.start < MAX_MEETING_TIME ): meeting_times_count = event_ext.meeting_times.count()