From e9c97ac03bfb2e53b97926ad0ae3b8e3d1d9c465 Mon Sep 17 00:00:00 2001 From: CKylinMC <11648014+CKylinMC@users.noreply.github.com> Date: Wed, 10 Sep 2025 21:13:47 +0800 Subject: [PATCH] style: add missing space Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 3847dab..033b3e2 100644 --- a/main.py +++ b/main.py @@ -56,7 +56,7 @@ def check_napcat_server_token(conn, request): return None auth_header = request.headers.get("Authorization") if auth_header != f"Bearer {token}": - return Server.Response(http.HTTPStatus.UNAUTHORIZED,"", headers=Server.Headers([("Content-Type", "text/plain")]), body=b"Unauthorized\n") + return Server.Response(http.HTTPStatus.UNAUTHORIZED, "", headers=Server.Headers([("Content-Type", "text/plain")]), body=b"Unauthorized\n") return None async def napcat_server():