Skip to content

Fix thinko in !1021

Cody Messick requested to merge cody.messick/gwcelery:p_astro_fix_bug into main

!1021 (merged) tried to access alert_dict['alert_type']['filename'] but not all alert_types have a filename key, so I switched to using the dict.get method so it will return a None instead of failing when the filename key isn't in alert_dict['alert_type'].

Edited by Cody Messick

Merge request reports

Loading