mirror of https://github.com/MISP/PyMISP
parent
8cf3887d54
commit
2a9c79a1e9
|
@ -1276,7 +1276,7 @@ class MISPEvent(AbstractMISP):
|
||||||
if ((hasattr(a, 'id') and a.id == attribute_identifier)
|
if ((hasattr(a, 'id') and a.id == attribute_identifier)
|
||||||
or (hasattr(a, 'uuid') and a.uuid == attribute_identifier)
|
or (hasattr(a, 'uuid') and a.uuid == attribute_identifier)
|
||||||
or (hasattr(a, 'value') and attribute_identifier == a.value
|
or (hasattr(a, 'value') and attribute_identifier == a.value
|
||||||
or attribute_identifier in a.value.split('|'))):
|
or (isinstance(a.value, str) and attribute_identifier in a.value.split('|')))):
|
||||||
tags += a.tags
|
tags += a.tags
|
||||||
return tags
|
return tags
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue