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()