mirror of https://github.com/MISP/misp-modules
parent
ef6596637d
commit
53cc15adcd
|
@ -102,12 +102,9 @@ class Yeti():
|
|||
url_object = MISPObject('Url')
|
||||
obj_relation = self.__get_relation(obj_to_add)
|
||||
if obj_relation:
|
||||
print(obj_relation)
|
||||
print(obj_to_add['value'])
|
||||
url_object.add_attribute(obj_relation, obj_to_add['value'])
|
||||
obj_relation = self.__get_relation(self.attribute)
|
||||
if obj_relation:
|
||||
print(obj_relation)
|
||||
url_object.add_attribute(self.__get_relation(self.attribute),
|
||||
self.attribute['value'])
|
||||
|
||||
|
|
Loading…
Reference in New Issue