Remove config param from get_current_election_cycle(). Update test.py to use new settings.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user