From 5dd16fccdd34837267d4b1a8563f90ea01431365 Mon Sep 17 00:00:00 2001 From: 4-dash <120916864+4-dash@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:06:24 +0100 Subject: [PATCH] error fix --- src/feedback/models/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feedback/models/base.py b/src/feedback/models/base.py index ac6645c..60b5397 100644 --- a/src/feedback/models/base.py +++ b/src/feedback/models/base.py @@ -579,7 +579,7 @@ def get_evasys_list_veranstalter(self): if self.primaerdozent is not None: personen.append(self.primaerdozent) for per in self.ergebnis_empfaenger.all(): - if per.pk != self.primaerdozent.pk: + if self.primaerdozent is None or per.pk != self.primaerdozent.pk: personen.append(per) return personen