From edd5b29a53c36c456e682c661c9062d596eb81a5 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Wed, 4 Dec 2024 17:43:52 +0100 Subject: [PATCH] Fix --- src/modules/scheduler_sync/synchronizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/scheduler_sync/synchronizer.py b/src/modules/scheduler_sync/synchronizer.py index ed3c8b5..21f437f 100644 --- a/src/modules/scheduler_sync/synchronizer.py +++ b/src/modules/scheduler_sync/synchronizer.py @@ -25,7 +25,7 @@ async def add_events( discord_events_ids = [event[0] for event in discord_events] for (uid, event) in twitch_events: - if event.start_at > datetime.now(event.start_at.tzinfo): + if event.start_at <= datetime.now(event.start_at.tzinfo): continue if uid not in discord_events_ids: