From 90bc2ab206b4dd9133849f78db43741b1c68188b Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 26 Dec 2013 16:20:09 +0100 Subject: [PATCH] bugfix --- teleforma/models/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/models/core.py b/teleforma/models/core.py index 28c55a66..cd91ee42 100755 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -454,7 +454,7 @@ class Media(MediaBase): strings = [] if self.period: strings.append(self.period.name) - if self.course and : + if self.course: strings.append(self.course.code) elif self.course_type: strings.append(self.course_type.name) -- 2.39.5