]> git.parisson.com Git - teleforma.git/commitdiff
fix conf.streaming
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 25 Apr 2019 10:29:37 +0000 (12:29 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 25 Apr 2019 10:29:37 +0000 (12:29 +0200)
teleforma/models/core.py

index 5505375debbb92017018d5e88f07cac97e9b4264..450ac26b076ddb58528bd0d0838c8ecc88c2c563 100644 (file)
@@ -414,7 +414,11 @@ class Conference(models.Model):
         self.public_id = data['id']
         self.course, c = Course.objects.get_or_create(code=data['course_code'])
         self.course_type, c = CourseType.objects.get_or_create(name=data['course_type'])
-        self.streaming = data['streaming']
+
+        if data['streaming'] == 'False':
+            self.streaming = False
+        else:
+            self.streaming = True
 
         organization, c = Organization.objects.get_or_create(name=data['organization'])