3
2
forked from Dniel97/artemis

fixing ongeki handler

This commit is contained in:
Midorica 2023-11-09 19:34:04 -05:00
parent 3c06f46644
commit 8769c99f4a

View File

@ -252,7 +252,7 @@ class OngekiServlet(BaseServlet):
zipped = zlib.compress(json.dumps(resp, ensure_ascii=False).encode("utf-8")) zipped = zlib.compress(json.dumps(resp, ensure_ascii=False).encode("utf-8"))
if not encrtped and version < 120: if not encrtped or version < 120:
return zipped return zipped
padded = pad(zipped, 16) padded = pad(zipped, 16)