fix: Fixed variable name typo

pull/305/head
chrisr3d 2019-06-04 11:32:21 +10:00
parent ee48d99845
commit 42bc6f8d2b
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ def handler(q=False):
return {'error': 'No API key provided'}
try:
accept_tac = _parse_bool(request['config'].get('accept-tac'), 'accept-tac')
except _parseError as e:
except _ParseError as e:
return {'error': str(e)}
attribute = request['attribute']
joe = jbxapi.JoeSandbox(apiurl=apiurl, apikey=apikey, user_agent='MISP joesandbox_analysis', accept_tac=accept_tac)