mirror of https://github.com/MISP/misp-modules
correct codecov
parent
755d907580
commit
14695bbeb9
|
@ -19,10 +19,9 @@ moduleinfo = {'version': '1', 'author': 'Sebastien Larinier @sebdraven',
|
|||
moduleconfig = ['apikey']
|
||||
|
||||
|
||||
|
||||
def handler(q=False):
|
||||
if q is False:
|
||||
return False
|
||||
if q:
|
||||
|
||||
request = json.loads(q)
|
||||
|
||||
if not request.get('config') and not (request['config'].get('apikey')):
|
||||
|
@ -44,6 +43,8 @@ def handler(q=False):
|
|||
return misperrors
|
||||
|
||||
return handle_expansion(api, ip, misperrors)
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
def handle_expansion(api, ip, misperrors):
|
||||
|
|
Loading…
Reference in New Issue