mirror of https://github.com/MISP/PyMISP
Merge pull request #115 from cgi1/patch-1
Fixing #114 (MISPEvent.add_tag(tag) fails if inital event does not contain tag )pull/116/head
commit
31935e5298
|
@ -279,6 +279,7 @@ class MISPEvent(AbstractMISP):
|
||||||
|
|
||||||
self._types = describe_types['types']
|
self._types = describe_types['types']
|
||||||
self.attributes = []
|
self.attributes = []
|
||||||
|
self.Tag = []
|
||||||
|
|
||||||
def _reinitialize_event(self):
|
def _reinitialize_event(self):
|
||||||
# Default values for a valid event to send to a MISP instance
|
# Default values for a valid event to send to a MISP instance
|
||||||
|
|
Loading…
Reference in New Issue