From a35313d0ecef0b1e85f65978e49e331c1769535f Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Wed, 4 Oct 2023 13:10:18 +0200
Subject: [PATCH] WIP: String IDs

---
 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 35c67205..92dd3dc3 100644
--- a/src/caosdb/common/models.py
+++ b/src/caosdb/common/models.py
@@ -104,7 +104,7 @@ def entity_id(eid):
 def is_temporary_id(eid):
     if experimental_string_ids():
         return entity_id(eid).startswith("-")
-    return entity(eid) < 0
+    return entity_id(eid) < 0
 
 
 class Entity:
-- 
GitLab