Similar to #114 on attribute level

`add_attribute_tag(tag,attribute_identifier)` fails if attribute does not have any tag in before.
pull/116/head
cgi1 2017-09-25 13:43:25 +02:00 committed by GitHub
parent 31935e5298
commit 7ad02eb68c
1 changed files with 1 additions and 0 deletions

View File

@ -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