Skip to content

Commit bd47e4c

Browse files
committed
Add comment to clarify that existing_events can include future events
1 parent 72d158d commit bd47e4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/meetup_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def add_upcoming_events_to_existing_events(upcoming_events: list[MeetupEvent], e
305305

306306
all_events = list(all_events_dict.values())
307307

308-
# Split into past and future events based on expiration
308+
# Split into past and future events based on expiration - note that some existing_events might be in the future
309309
today = datetime.now().strftime("%Y%m%d")
310310
def is_future(event):
311311
exp = event.get("expiration", "") if isinstance(event, dict) else getattr(event, "expiration", "")

0 commit comments

Comments
 (0)