forked from Dniel97/artemis
ongeki: fixing render_POST
This commit is contained in:
parent
1034a505f0
commit
c9a20b2433
@ -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