1
0
forked from Hay1tsme/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"))
if not encrtped and version < 120:
if not encrtped or version < 120:
return zipped
padded = pad(zipped, 16)