[~] JMV Arguments validated.

This commit is contained in:
Charles Le Maux 2024-08-24 16:35:46 +02:00
parent b70f522a3b
commit ef3d907984

View File

@ -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))