From 5ea885aceb2762c4fb3b011306bd520a28a09b6f Mon Sep 17 00:00:00 2001 From: "lukas.bernhard" Date: Sat, 16 Nov 2024 12:43:29 +0100 Subject: [PATCH] start poll two days after schafkopf event --- schafkopf/core/dynamodb/poll_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schafkopf/core/dynamodb/poll_table.py b/schafkopf/core/dynamodb/poll_table.py index 137ad7c..0b518a5 100644 --- a/schafkopf/core/dynamodb/poll_table.py +++ b/schafkopf/core/dynamodb/poll_table.py @@ -23,7 +23,7 @@ def create_new(poll_id: str, next_poll_date: datetime) -> "PollItem": ) def event_scheduled_update(self, event_date: datetime): - self.start_next_poll_date = event_date + timedelta(days=1) + self.start_next_poll_date = event_date + timedelta(days=2) self.next_schafkopf_event = event_date def poll_is_running(self) -> bool: