mirror of https://github.com/MISP/PyMISP
fix: Set relationship_type default in MISPTag to empty string
parent
1b253e14d6
commit
c7b67e33a8
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue