Update yeti.py

remove add
pull/488/head
Sebdraven 2021-03-19 15:20:58 +01:00
parent 624f423264
commit cd97186776
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class Yeti():
domain_ip_object = MISPObject('domain-ip')
domain_ip_object.add_attribute(self.__get_relation(obj_to_add),
obj_to_add['value'])
domain_ip_object.add_attribute(**self.attribute)
domain_ip_object.add_reference(self.attribute['uuid'], 'related_to')
return domain_ip_object