From 4c1f41c4c84858a2f7934a39352bce2ef47edf51 Mon Sep 17 00:00:00 2001 From: imcompiling Date: Thu, 28 Dec 2023 19:28:30 -0500 Subject: [PATCH] Correct date being used for getting the election cycle name. --- utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils.py b/utils.py index 2ad31a7..380d98b 100644 --- a/utils.py +++ b/utils.py @@ -47,9 +47,7 @@ def get_election_cycle_name(config: DakinyConfig) -> str: cycle = get_current_cycle(config) current_cycle = config.election_cycles[cycle] - return ( - f"vote-{get_datetime(current_cycle.election_start).year}-{current_cycle.name}" - ) + return f"vote-{get_datetime(current_cycle.term_start).year}-{current_cycle.name}" def get_dm_election_name(config: DakinyConfig) -> str: