forked from Hay1tsme/artemis
diva: fix for responses that haven't been updated yet
This commit is contained in:
parent
8df1325613
commit
998aa70929
@ -121,7 +121,7 @@ class DivaServlet:
|
||||
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
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user