fix logging

This commit is contained in:
j 2014-05-17 16:57:34 +02:00
parent 42c3f38f35
commit 59da96fc7b

View file

@ -77,7 +77,7 @@ class Handler(WebSocketHandler):
def trigger_event(event, data): def trigger_event(event, data):
if len(state.websockets): if len(state.websockets):
logger.debug('trigger event %s %s', event, data, len(state.websockets)) logger.debug('trigger event %s %s %s', event, data, len(state.websockets))
for ws in state.websockets: for ws in state.websockets:
try: try:
ws.post([event, data]) ws.post([event, data])