]> git.parisson.com Git - teleforma.git/commitdiff
add except for push
authoryomguy <yomguy@parisson.com>
Tue, 24 Jul 2012 23:49:59 +0000 (01:49 +0200)
committeryomguy <yomguy@parisson.com>
Tue, 24 Jul 2012 23:49:59 +0000 (01:49 +0200)
teleforma/views.py

index c9b66faf8db07c5572f67e20308740652e05405d..b26f7022f83990f1e2589b5f1c29967e7aa34e04 100755 (executable)
@@ -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):