]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 15:20:09 +0000 (16:20 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 15:20:09 +0000 (16:20 +0100)
teleforma/models/core.py

index 28c55a66c78807ca413b8ea7ddd2e49b31fce260..cd91ee42ef2dd74aaae0106c03319784385fbf24 100755 (executable)
@@ -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)