fix: Fixed syntax error

pull/222/head
chrisr3d 2018-09-07 17:49:28 +02:00
parent 26647a164b
commit 48fcf9a85e
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -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'))