Skip to content
Snippets Groups Projects
Commit dd0baaf6 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: compare case insensitive

parent 96c01338
No related branches found
No related tags found
No related merge requests found
......@@ -351,7 +351,8 @@ def assure_has_property(entity, name, value, to_be_updated=None,
return
properties = entity.get_properties()
possible_properties = [prop for prop in properties if prop.name == name]
possible_properties = [prop for prop in properties if prop.name.lower() ==
name.lower()]
contained = False
for el in possible_properties:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment