Skip to content

Commit

Permalink
Merge pull request #325 from winklerrr/patch-1
Browse files Browse the repository at this point in the history
Update pymisp tutorial
  • Loading branch information
Rafiot committed Jan 26, 2019
2 parents 1ec357c + 1390304 commit 7e8544b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/tutorial/PyMISP_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,11 @@
"metadata": {},
"outputs": [],
"source": [
"results = misp.search_index(eventinfo='notebook')\n",
"result = misp.search_index(eventinfo='notebook')\n",
"events = result['response']\n",
"\n",
"for event in results:\n",
"print('Found ', len(events), ' events!')\n",
"for event in events:\n",
" print(event['id'], ':', event['info'])"
]
},
Expand Down

0 comments on commit 7e8544b

Please sign in to comment.