Found niche bug when testing. Need to get election cycle here because election cycle might be different than current cycle.
build_develop / build (push) Failing after 19s
build_develop / build (push) Failing after 19s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user