mirror of https://github.com/MISP/misp-modules
fixed error reported by LGTM analysis
parent
6b9d30c6ce
commit
2544218899
|
@ -61,7 +61,6 @@ handlers = {
|
|||
def handler(q=False):
|
||||
if q is False:
|
||||
return False
|
||||
r = {'results': []}
|
||||
request = json.loads(q)
|
||||
config = request.get("config", {"Period": ""})
|
||||
output = ''
|
||||
|
@ -73,7 +72,6 @@ def handler(q=False):
|
|||
r = {"response": [], "data": str(base64.b64encode(bytes(output, 'utf-8')), 'utf-8')}
|
||||
return r
|
||||
|
||||
|
||||
def introspection():
|
||||
modulesetup = {}
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue