From afc4430b31ac326770afae11451f94ccfb38a42b Mon Sep 17 00:00:00 2001 From: imcompiling Date: Fri, 26 May 2023 17:15:44 -0400 Subject: [PATCH] Typo fix --- classes/election_cycle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/election_cycle.py b/classes/election_cycle.py index acbc92b..48d412f 100644 --- a/classes/election_cycle.py +++ b/classes/election_cycle.py @@ -40,7 +40,7 @@ class ElectionCycle: print("checking the date") # check all dates if action is needed - if today.date() == self._election_start.dat(): + if today.date() == self._election_start.date(): await self.election_start_action() elif today.date() == self._voting_start.date(): await self.voting_end_action()