From de00bd3e25ce22c6e1e926cb72d6eeae8bab7aa0 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Tue, 16 Jun 2015 18:28:40 +0200 Subject: [PATCH] cgi: fix cached output for Python3 * wrap/python/ajax/spotcgi.in: Fix. --- wrap/python/ajax/spotcgi.in | 1 + 1 file changed, 1 insertion(+) diff --git a/wrap/python/ajax/spotcgi.in b/wrap/python/ajax/spotcgi.in index 15b73d639..b5753027c 100755 --- a/wrap/python/ajax/spotcgi.in +++ b/wrap/python/ajax/spotcgi.in @@ -45,6 +45,7 @@ if qs: cache = open(cachename, "rb", 0) if hasattr(sys.stdout, 'buffer'): # Python 3+ + sys.stdout.flush() sys.stdout.buffer.write(cache.read()) else: # Python 2.x