Commit de00bd3e authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

cgi: fix cached output for Python3

* wrap/python/ajax/ Fix.
parent 533fc21a
......@@ -45,6 +45,7 @@ if qs:
cache = open(cachename, "rb", 0)
if hasattr(sys.stdout, 'buffer'):
# Python 3+
# Python 2.x
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment