diff --git a/utils.py b/utils.py index 9f04a10..d10796a 100644 --- a/utils.py +++ b/utils.py @@ -59,7 +59,9 @@ def get_election_cycle_name(config: DakinyConfig) -> str: str: the name of the election cycle """ - return f"vote-{get_cycle_name(config)}" + 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}" def get_cycle_name(config: DakinyConfig) -> str: