This commit is contained in:
Maximilian Hils 2017-01-06 01:01:26 +01:00
parent c41bd3fafd
commit ede124a587

View File

@ -194,7 +194,7 @@ class WebSocketEventBroadcaster(tornado.websocket.WebSocketHandler):
@classmethod @classmethod
def broadcast(cls, **kwargs): def broadcast(cls, **kwargs):
message = json.dumps(kwargs, ensure_ascii=False) message = json.dumps(kwargs, ensure_ascii=False).encode("utf8", "surrogateescape")
for conn in cls.connections: for conn in cls.connections:
try: try: