mirror of https://github.com/MISP/misp-modules
fix: Fixed syntax error
parent
26647a164b
commit
48fcf9a85e
|
@ -148,7 +148,7 @@ def handler(q=False):
|
|||
return False
|
||||
q = json.loads(q)
|
||||
if not q.get('config') or not q['config'].get('apikey'):
|
||||
misperrors['error']: "A VirusTotal api key is required for this module."
|
||||
misperrors['error'] = "A VirusTotal api key is required for this module."
|
||||
return misperrors
|
||||
del q['module']
|
||||
query = VirusTotalRequest(q.pop('config'))
|
||||
|
|
Loading…
Reference in New Issue