From: Guillaume Pellerin Date: Thu, 26 Dec 2013 15:20:09 +0000 (+0100) Subject: bugfix X-Git-Tag: 2.8.1-pro~387 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=90bc2ab206b4dd9133849f78db43741b1c68188b;p=teleforma.git bugfix --- 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)