style: add missing space

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/57/head
CKylinMC 2025-09-10 21:13:47 +08:00 committed by GitHub
parent f57c0c5ca1
commit e9c97ac03b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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