From 14547ad621e2381f9a73223f753d82bf2fd7fcc3 Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 21 Nov 2024 22:49:00 +0100 Subject: [PATCH] fix: don't exchange set for new one --- src/fellchensammlung/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index 4105422..2527852 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -240,7 +240,7 @@ class AdoptionNotice(models.Model): def sexes(self): sexes = set() for animal in self.animals: - sexes.update(animal.sex) + sexes.add(animal.sex) return sexes def sex_code(self):