Remove config param from get_current_election_cycle(). Update test.py to use new settings.

This commit is contained in:
2024-09-03 16:07:23 -04:00
parent 1dd5a33da5
commit 62f9902298
3 changed files with 20 additions and 32 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ class DailyLoop(commands.Cog, name="Daily Loop"):
Returns:
Election: Current election cycle, None if there is no election happening.
"""
cycle = get_current_election_cycle(settings)
cycle = get_current_election_cycle()
# prevent exception from using cycle as an Int in an array
if cycle is None: