fix: Wrong call to pymisp.search_index

pull/633/head
Raphaël Vinot 2020-09-15 16:56:21 +02:00
parent cf3d7e5e0f
commit 781161f82c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ if __name__ == '__main__':
if args.force_new:
me = create_new_event()
else:
response = pymisp.search_index(tag=args.tag, timestamp='1h', pythonify=True)
response = pymisp.search_index(tags=args.tag, timestamp='1h', pythonify=True)
if response:
if args.disable_new:
event_id = response[0].id