mirror of https://github.com/MISP/PyMISP
commit
0a617aba3f
|
@ -14,7 +14,7 @@ def init(url, key):
|
|||
|
||||
def search_sighting(m, context, out=None, **kwargs):
|
||||
|
||||
result = m.sighting_search(context, **kwargs)
|
||||
result = m.search_sightings(context, **kwargs)
|
||||
if out is None:
|
||||
print(json.dumps(result['response']))
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue