@@ -40,7 +40,7 @@ class ElectionCycle:
|
|||||||
print("checking the date")
|
print("checking the date")
|
||||||
|
|
||||||
# check all dates if action is needed
|
# 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()
|
await self.election_start_action()
|
||||||
elif today.date() == self._voting_start.date():
|
elif today.date() == self._voting_start.date():
|
||||||
await self.voting_end_action()
|
await self.voting_end_action()
|
||||||
|
|||||||
Reference in New Issue
Block a user