diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 9c420c8cae75171e0b233f2fd23f87dc2fa61367..264e4c5e1fa70cab01cee1bff9e44f9f9238fe05 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -1599,6 +1599,7 @@ class _Properties(list): if isinstance(prop, Entity): if prop in self: list.remove(self, prop) + return else: if prop.id is not None: # by id