Flush on pdf output. - mediawiki-gopher - mediawiki gopher frontend
(HTM) git clone git://bitreich.org/mediawiki-gopher git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/mediawiki-gopher
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit e0ad227b26551a30f6aa0c1b0a7829c7184143ca
(DIR) parent 421a39f50d66ef047b772ba3e42b8a40a7cf7d2c
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 6 Jan 2026 20:49:08 +0100
Flush on pdf output.
Diffstat:
M pdf/index.cgi | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/pdf/index.cgi b/pdf/index.cgi
@@ -91,6 +91,7 @@ def main(args):
g_content = pdf.content.replace(mw_replace.encode("utf-8"),\
g_uri.encode("utf-8"))
sys.stdout.buffer.write(g_content)
+ sys.stdout.flush()
return 0
sys.stdout.write(gph)