]> git.parisson.com Git - teleforma.git/commitdiff
try to fix conf push with mess
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 12 Jul 2013 00:16:00 +0000 (02:16 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 12 Jul 2013 00:16:00 +0000 (02:16 +0200)
teleforma/views/core.py

index 07abacb5b15e683c65941a81dc2f2c84571993fc..145f30def8f640aff686d061ffe1cbd8577585a6 100644 (file)
@@ -511,7 +511,7 @@ class ConferenceRecordView(FormView):
         self.live_message()
 
         try:
-            self.push(self.conference)
+            self.push()
         except:
             pass
 
@@ -569,10 +569,10 @@ class ConferenceRecordView(FormView):
         else:
             raise 'Error : input must be a conference dictionnary'
 
-    def push(self, conference):
+    def push(self):
         url = 'http://' + settings.TELECASTER_MASTER_SERVER + '/json/'
         s = ServiceProxy(url)
-        s.teleforma.create_conference(conference.to_json_dict())
+        s.teleforma.create_conference(self.conference.to_json_dict())
 
 
 class ProfessorListView(View):