Update yeti.py

add param
pull/488/head
Sebdraven 2021-04-19 13:45:29 +02:00
parent 1e98f1d575
commit 0da40b34ee
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ class Yeti():
url_object.add_attribute(obj_relation, obj_to_add['value'])
obj_relation = self.__get_relation(self.attribute)
if obj_relation:
url_object.add_attribute(self.__get_relation(self.attribute),
self.attribute['value'])
url_object.add_attribute(self.__get_relation(self.attribute, is_yeti_object=False),
self.attribute['value'])
url_object.add_reference(self.attribute['uuid'], 'related_to')
print(url_object)