Fix key error

This commit is contained in:
Joseph Schorr 2015-11-13 13:16:33 -05:00
parent 44b44b19ac
commit 6412e145dd

View file

@ -263,7 +263,7 @@ class SecurityWorker(Worker):
if sec_data is None: if sec_data is None:
continue continue
if not sec_data['Vulnerabilities']: if not sec_data.get('Vulnerabilities'):
continue continue
# Dispatch events for any detected vulnerabilities # Dispatch events for any detected vulnerabilities