From bf166b5d07bdc25d79c2815951f8c3ab940c99d3 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Thu, 7 May 2020 13:16:36 +0200
Subject: [PATCH] STY: missing white space

---
 src/caosdb/common/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py
index 37f62210..6c4ed8b4 100644
--- a/src/caosdb/common/models.py
+++ b/src/caosdb/common/models.py
@@ -562,7 +562,7 @@ class Entity(object):
 
                 return self.get_property(pattern.name)
 
-            if hasattr(pattern, "id")and pattern.id is not None:
+            if hasattr(pattern, "id") and pattern.id is not None:
                 return self.get_property(pattern.id)
 
         # int given
-- 
GitLab