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):