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

FIX

parent 899778ed
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment