Skip to content
Snippets Groups Projects
Commit b0f2dd45 authored by Cody Messick's avatar Cody Messick Committed by Deep Chatterjee
Browse files

Fix thinko in notice_text task

parent db3b35c5
No related branches found
No related tags found
1 merge request!1046Fix thinko in notice_text task
......@@ -194,7 +194,7 @@ def validate_text_notice(message):
match = {**_vo_match_notice(notice, params_vo, trigger_time_vo),
**_vo_match_comments(notice, params_vo)}
else:
match = []
match = {}
error = f'Email notice {filename} has unknown notice type'
mismatched = ' '.join(key for key, value in match.items() if not value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment