From ef3d907984cd15c7fcfa86300767618d81071d03 Mon Sep 17 00:00:00 2001 From: Charles Le Maux Date: Sat, 24 Aug 2024 16:35:46 +0200 Subject: [PATCH] [~] JMV Arguments validated. --- generic_executor.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/generic_executor.py b/generic_executor.py index ff3275b..fd69c1f 100644 --- a/generic_executor.py +++ b/generic_executor.py @@ -116,9 +116,6 @@ def fetch_players_status(user: UserRecord, name: str) -> tuple[HTTPStatus, Union file_contents[file_name] = file.read() else: return HTTPStatus.NOT_FOUND, "Launch the server at least once." - - file_contents_json = json.dumps(file_contents, indent=4) - return HTTPStatus.OK, file_contents except Exception as e: file_manager.log_error(type(e).__name__, str(e))