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

FIX

parent 46bac3d8
Branches
Tags
No related merge requests found
......@@ -109,7 +109,7 @@ def return_field_or_property(value, prop=None):
single value or (in case of dict as value) a value of the dict.
"""
if isinstance(value, dict) and prop in el:
if isinstance(value, dict) and prop in value:
return value[prop]
else:
return value
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment