webthing/thing.py
def remove_event_subscriber(self, name, ws):
        """
        Remove a websocket subscriber from an event.

        name -- name of the event
        ws -- the websocket
        """
        if name in self.available_events and \
                ws in self.available_events[name]['subscribers']:
            self.available_events[name]['subscribers'].remove(ws)
def remove_event_subscriber(self, name, ws):
        if name in self.available_events and \
                ws in self.available_events[name]['subscribers']:
            self.available_events[name]['subscribers'].remove(ws)
def remove_event_subscriber ( self , name , ws ) : if name in self . available_events and ws in self . available_events [ name ] [ 'subscribers' ] : self . available_events [ name ] [ 'subscribers' ] . remove ( ws )
Remove a websocket subscriber from an event.

        name -- name of the event
        ws -- the websocket
Remove a websocket subscriber from an event .