mirror of https://github.com/MISP/misp-modules
commit
91795982be
|
@ -28,7 +28,7 @@ def handler(q=False):
|
||||||
if not values:
|
if not values:
|
||||||
misperrors['error'] = 'Unable to find the history of this IP'
|
misperrors['error'] = 'Unable to find the history of this IP'
|
||||||
return misperrors
|
return misperrors
|
||||||
return {'results': [{'types': mispattributes['output'], 'values': values}]}
|
return {'results': [{'types': mispattributes['output'], 'values': [str(values)]}]}
|
||||||
|
|
||||||
|
|
||||||
def introspection():
|
def introspection():
|
||||||
|
|
Loading…
Reference in New Issue