From 18a282b75c11a682c4126e6abe9cf861dd8e8234 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 12 Jul 2013 02:16:00 +0200 Subject: [PATCH] try to fix conf push with mess --- teleforma/views/core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 07abacb5..145f30de 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -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): -- 2.39.5