From 1498e97dabbacb9e648f74a888dba121532b292d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org>
Date: Mon, 20 May 2019 14:29:11 +0200
Subject: [PATCH] FIX

---
 src/caosadvancedtools/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/caosadvancedtools/utils.py b/src/caosadvancedtools/utils.py
index b33fee4b..2d3e5c78 100644
--- a/src/caosadvancedtools/utils.py
+++ b/src/caosadvancedtools/utils.py
@@ -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
-- 
GitLab