From 7ad02eb68c5af10b9fc07e4bcc99f660db285115 Mon Sep 17 00:00:00 2001 From: cgi1 Date: Mon, 25 Sep 2017 13:43:25 +0200 Subject: [PATCH] Similar to #114 on attribute level `add_attribute_tag(tag,attribute_identifier)` fails if attribute does not have any tag in before. --- pymisp/mispevent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymisp/mispevent.py b/pymisp/mispevent.py index ecbf343..b5b0d74 100644 --- a/pymisp/mispevent.py +++ b/pymisp/mispevent.py @@ -76,6 +76,7 @@ class MISPAttribute(AbstractMISP): self._types = describe_types['types'] self.__category_type_mapping = describe_types['category_type_mappings'] self.__sane_default = describe_types['sane_defaults'] + self.Tag = [] def _reinitialize_attribute(self): # Default values