diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index db17eac30758b134042832fdee22a5d81e68cd97..bfa93ae099b10f41c704d87de9b3d65b8238d432 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -2518,9 +2518,7 @@ class Container(list): and (str(remote_entity.name) == str(local_entity.name) or (name_case_sensitive is False and str(remote_entity.name).lower() == str( - local_entity.name).lower() - ) - ) \ + local_entity.name).lower())) \ and remote_entity not in used_remote_entities: sync_remote_entities.append(remote_entity) used_remote_entities.append(remote_entity)