mirror of https://github.com/MISP/PyMISP
Update last.py
parent
51f49ddcaa
commit
dd3ce6c758
|
@ -26,7 +26,7 @@ def download_last(m, last, out=None):
|
||||||
exit(0)
|
exit(0)
|
||||||
else:
|
else:
|
||||||
with open(out, 'w') as f:
|
with open(out, 'w') as f:
|
||||||
f.write(json.dumps(result['response']))
|
f.write(json.dumps(result['response']))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
parser = argparse.ArgumentParser(description='Download latest events from a MISP instance.')
|
parser = argparse.ArgumentParser(description='Download latest events from a MISP instance.')
|
||||||
|
|
Loading…
Reference in New Issue