This commit is contained in:
2023-05-26 17:15:44 -04:00
parent 00580460c6
commit afc4430b31
+1 -1
View File
@@ -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()