Update last.py

pull/68/head
Paul 2017-04-06 14:23:04 +02:00 committed by GitHub
parent 51f49ddcaa
commit dd3ce6c758
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ def download_last(m, last, out=None):
exit(0)
else:
with open(out, 'w') as f:
f.write(json.dumps(result['response']))
f.write(json.dumps(result['response']))
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Download latest events from a MISP instance.')