Skip to content
Snippets Groups Projects

F h5 cfood

Merged Henrik tom Wörden requested to merge f-h5-cfood into dev
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -653,12 +653,12 @@ def assure_has_property(entity, name, value, to_be_updated=None,
value = value.id
for el in possible_properties:
elvalue = el.value
tmp_value = el.value
if isinstance(elvalue, db.Entity):
elvalue = el.value.id
if isinstance(tmp_value, db.Entity):
tmp_value = el.value.id
if elvalue == value:
if tmp_value == value:
contained = True
break
Loading