forked from Hay1tsme/artemis
fixing ongeki handler
This commit is contained in:
parent
3c06f46644
commit
8769c99f4a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user