Add more debug information
build

This commit is contained in:
2023-05-18 20:16:58 -04:00
parent f357df807b
commit 811317fc0a
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -37,6 +37,7 @@ class ElectionCycle:
Function checks current date to see if something needs to be run.
"""
today = datetime.today()
print("checking the date")
# check all dates if action is needed
if today.date() == self._election_start.dat():
@@ -51,6 +52,9 @@ class ElectionCycle:
await self.term_start_action()
elif today.date() == self._term_end.date():
await self.term_end_action()
else:
print("today was not a special date")
print(today)
async def election_start_action(self) -> None:
"""