Fix thinko in !1021
!1021 (merged) tried to access alert_dict['alert_type']['filename']
but not all alert_type
s 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