From: yomguy Date: Tue, 24 Jul 2012 23:14:44 +0000 (+0200) Subject: fix push X-Git-Tag: 0.8^2~12 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=18204e43da0addb0c35d42b104517f21216e1355;p=teleforma.git fix push --- 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"