From 18204e43da0addb0c35d42b104517f21216e1355 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 25 Jul 2012 01:14:44 +0200 Subject: [PATCH] fix push --- teleforma/views.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/teleforma/views.py b/teleforma/views.py index b1617c17..f95a4627 100755 --- a/teleforma/views.py +++ b/teleforma/views.py @@ -357,17 +357,14 @@ class ConferenceView(DetailView): station.save() station.stop() if 'telecaster' in settings.INSTALLED_APPS: - self.push(conference) + url = 'http://' + settings.TELECASTER_MASTER_SERVER + '/json/' + s = ServiceProxy(url) + s.teleforma.stop_conference(conference.code) @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(ConferenceView, self).dispatch(*args, **kwargs) - def push(self, conference): - url = 'http://' + settings.TELECASTER_MASTER_SERVER + '/json/' - s = ServiceProxy(url) - s.teleforma.stop_conference(conference.code) - class ConferenceRecordView(FormView): "Conference record form : TeleCaster module required" -- 2.39.5