Skip to content

Commit

Permalink
fix: Use the recommended approach to add an attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Apr 24, 2018
1 parent 78d2ac5 commit 8edd536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/PyMISP_tutorial.ipynb
Expand Up @@ -216,7 +216,7 @@
"del event.timestamp\n",
"\n",
"## Add the attribute to the event\n",
"event.attributes.append(attribute)\n",
"event.add_attribute(**attribute)\n",
"\n",
"## Push the updated event to MISP\n",
"event_dict = misp.update(event)\n",
Expand Down

0 comments on commit 8edd536

Please sign in to comment.