Debug after testing, everything works great now

This commit is contained in:
Félix Aime
2021-06-10 19:48:35 +02:00
parent 73946c27e2
commit 926daf3e34
2 changed files with 3 additions and 1 deletions

View File

@ -130,6 +130,7 @@ def watch_misp():
for ioc in misp.get_iocs(inst["id"]):
iocs.add(ioc["type"], ioc["tag"], ioc["tlp"],
ioc["value"], "misp-{}".format(inst["id"]))
misp.update_sync(inst["id"])
instances.pop(i)
if instances: time.sleep(60)