From b253496590358db1cc115f01811f6b26f9b685c4 Mon Sep 17 00:00:00 2001 From: Lyaaaaaaaaaaaaaaa Date: Wed, 25 Oct 2023 11:55:06 +0200 Subject: [PATCH] Fixed syntax error #25 - Replaced logger.info into logger.log. --- server/server.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/server.py b/server/server.py index 8229920..6a6c985 100755 --- a/server/server.py +++ b/server/server.py @@ -101,6 +101,9 @@ #-- - Fixed a syntax error in handler. #-- - Updated handle_request to define parameters differently depending of #-- the model type (generator or translator). +#-- +#-- - 25/10/2023 Lyaaaaa +#-- - Fixed syntax error in handler. See https://github.com/LyaaaaaGames/AIdventure_Server/issues/25 #------------------------------------------------------------------------------ import asyncio @@ -140,7 +143,7 @@ async def handler(p_websocket, path): await p_websocket.send(data_to_send) except websockets.exceptions.ConnectionClosed as e: - logger.info.error(e) + logger.log.error(e) exit_code = 0 shutdown_server(exit_code)