This commit is contained in:
@@ -53,10 +53,8 @@ def get_election_cycle_name(config: DakinyConfig) -> str:
|
|||||||
Returns:
|
Returns:
|
||||||
str: the name of the election cycle
|
str: the name of the election cycle
|
||||||
"""
|
"""
|
||||||
cycle = get_current_election_cycle(config)
|
|
||||||
current_cycle = config.election_cycles[cycle]
|
|
||||||
|
|
||||||
return f"vote-{get_datetime(current_cycle.term_start).year}-{current_cycle.name}"
|
return f"vote-{get_cycle_name(config)}"
|
||||||
|
|
||||||
|
|
||||||
def get_cycle_name(config: DakinyConfig) -> str:
|
def get_cycle_name(config: DakinyConfig) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user