fix: Set relationship_type default in MISPTag to empty string

pull/899/head
Raphaël Vinot 2023-01-17 10:24:55 +01:00
parent 1b253e14d6
commit c7b67e33a8
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ class MISPTag(AbstractMISP):
def _set_default(self): def _set_default(self):
if not hasattr(self, 'relationship_type'): if not hasattr(self, 'relationship_type'):
self.relationship_type = None self.relationship_type = ''
if not hasattr(self, 'colour'): if not hasattr(self, 'colour'):
self.colour = '#ffffff' self.colour = '#ffffff'