mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-13 11:17:28 +08:00
fix attend
This commit is contained in:
@@ -119,6 +119,9 @@ class DivaServlet:
|
||||
response = handler(req_cls.raw)
|
||||
if response is None or response == "":
|
||||
response = BaseResponse(req_cls.cmd, req_cls.req_id).make()
|
||||
|
||||
|
||||
if not response.startswith("cmd="):
|
||||
response = f"cmd={req_cls.cmd}&req_id={req_cls.req_id}&stat=ok&" + response
|
||||
|
||||
self.logger.debug(f"Response: {response}")
|
||||
return response.encode(errors="ignore")
|
||||
|
||||
Reference in New Issue
Block a user