From: Guillaume Pellerin Date: Fri, 12 Jul 2013 00:16:00 +0000 (+0200) Subject: try to fix conf push with mess X-Git-Tag: 1.1~563 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=18a282b75c11a682c4126e6abe9cf861dd8e8234;p=teleforma.git try to fix conf push with mess --- 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):