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