mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-18 05:50:31 +00:00
[~] JMV Arguments validated.
Co-authored-by: Antoninop <antoninopiraino70@gmail.com>
This commit is contained in:
commit
683a72cad5
@ -116,9 +116,6 @@ def fetch_players_status(user: UserRecord, name: str) -> tuple[HTTPStatus, Union
|
|||||||
file_contents[file_name] = file.read()
|
file_contents[file_name] = file.read()
|
||||||
else:
|
else:
|
||||||
return HTTPStatus.NOT_FOUND, "Launch the server at least once."
|
return HTTPStatus.NOT_FOUND, "Launch the server at least once."
|
||||||
|
|
||||||
file_contents_json = json.dumps(file_contents, indent=4)
|
|
||||||
|
|
||||||
return HTTPStatus.OK, file_contents
|
return HTTPStatus.OK, file_contents
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
file_manager.log_error(type(e).__name__, str(e))
|
file_manager.log_error(type(e).__name__, str(e))
|
||||||
|
Loading…
Reference in New Issue
Block a user