From 93f8d6912d44fbe90eebbfc6c510137ecd52f4cf Mon Sep 17 00:00:00 2001 From: Paul-Louis NECH Date: Sun, 26 Apr 2020 13:14:26 +0200 Subject: [PATCH] fix: No message reencoding --- server/game/lobby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/game/lobby.py b/server/game/lobby.py index ed09a8d..589d475 100644 --- a/server/game/lobby.py +++ b/server/game/lobby.py @@ -103,7 +103,7 @@ class LobbyManager(ClientManager): data["extra"] = extras print(f"MSGOUT|{sid} ({to.name}), {data}") - await self.sio.emit('messageChannel', json.dumps(data, ensure_ascii=False).encode("utf8"), room=sid) + await self.sio.emit('messageChannel', json.dumps(data), room=sid) async def handle_message(self, sid, data): message = None -- libgit2 0.27.0