From 2416f0cf05e1fbd420c31aff710d590544a126f1 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 15 Sep 2020 21:07:07 +0000 Subject: [PATCH] Correct TC Election event in template_emails.py The event name was misspelled, fix it so we can use this script. Change-Id: If43135fa9ab254bd9e213e7f417aee94c41a55cb --- openstack_election/cmds/template_emails.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack_election/cmds/template_emails.py b/openstack_election/cmds/template_emails.py index 571e605b..98f0af74 100644 --- a/openstack_election/cmds/template_emails.py +++ b/openstack_election/cmds/template_emails.py @@ -39,8 +39,8 @@ if election_type in ['tc', 'combined']: end_nominations=utils.get_event('TC Nominations')['end_str'], campaign_start=utils.get_event('TC Campaigning')['start_str'], campaign_end=utils.get_event('TC Campaigning')['end_str'], - election_start=utils.get_event('TC Elections')['start_str'], - election_end=utils.get_event('TC Elections')['end_str'], + election_start=utils.get_event('TC Election')['start_str'], + election_end=utils.get_event('TC Election')['end_str'], poll_name='%s TC Election' % (conf['release'].capitalize()), )) template_names += ['campaigning_kickoff']