From bedc37bfca88d1079ecb773dbf5c663ba978f9dd Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 6 Dec 2021 15:44:46 +0000 Subject: [PATCH] . --- atlas/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/models.py b/atlas/models.py index cfaf9a6b..62792ba7 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -240,7 +240,7 @@ class Case(models.Model): def __str__(self): examinations = [series.get_examination() for series in self.series.all()] - return f"{self.pk}:{self.title} {'/'.join(self.condition.all())}, {', '.join(examinations)}" + return f"{self.pk}:{self.title} {'/'.join(c for c in self.condition.all())}, {', '.join(examinations)}" class SeriesImage(models.Model):