From: yomguy Date: Tue, 24 Jul 2012 23:49:59 +0000 (+0200) Subject: add except for push X-Git-Tag: 0.8^2~6 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=127db0830b520cd4002ad4a42cdf84654287b3e4;p=teleforma.git add except for push --- diff --git a/teleforma/views.py b/teleforma/views.py index c9b66faf..b26f7022 100755 --- a/teleforma/views.py +++ b/teleforma/views.py @@ -357,9 +357,12 @@ class ConferenceView(DetailView): station.save() station.stop() if 'telecaster' in settings.INSTALLED_APPS: - url = 'http://' + settings.TELECASTER_MASTER_SERVER + '/json/' - s = ServiceProxy(url) - s.teleforma.stop_conference(conference.public_id) + try: + url = 'http://' + settings.TELECASTER_MASTER_SERVER + '/json/' + s = ServiceProxy(url) + s.teleforma.stop_conference(conference.public_id) + except: + pass @method_decorator(login_required) def dispatch(self, *args, **kwargs):