]> git.parisson.com Git - teleforma.git/commitdiff
Fix streaming parsing
authoryomguy <yomguy@parisson.com>
Thu, 25 Apr 2019 10:44:50 +0000 (12:44 +0200)
committeryomguy <yomguy@parisson.com>
Thu, 25 Apr 2019 10:44:50 +0000 (12:44 +0200)
teleforma/models/core.py
teleforma/views/core.py

index df3cbf9d9bae6a6d173a31de8d8a37fd3747d1fd..f8b9fea92fbbecba13228916adfe41f680459558 100644 (file)
@@ -322,6 +322,7 @@ class Conference(Model):
                 'streams': [],
                 'date_begin': self.date_begin.strftime('%Y %m %d %H %M %S') if self.date_begin else 'None',
                 'date_end': self.date_end.strftime('%Y %m %d %H %M %S') if self.date_end else 'None',
+                'streaming': 'True' if self.streaming else 'False',
                  }
 
         if self.room:
index 227861f67cdcf8117b53e3fe87586599fd342588..870d4cde8cdb5f7ed1749924c5411571cfb49fd7 100644 (file)
@@ -599,10 +599,10 @@ class ConferenceRecordView(FormView):
             except:
                 pass
 
-            try:
-                self.push()
-            except:
-                pass
+        try:
+            self.push()
+        except:
+            pass
 
         return super(ConferenceRecordView, self).form_valid(form)