fix: Quick variable name fix

pull/360/head
chrisr3d 2019-12-17 11:17:56 +01:00
parent 9da6a3744c
commit 9c9f01b6ff
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class PassiveSSLParser():
def get_results(self):
if hasattr(self, 'result'):
return self.results
return self.result
event = json.loads(self.misp_event.to_json())
results = {key:event[key] for key in ('Attribute', 'Object')}
return {'results': results}