From 7ab204be73f29a85954afc3500c7cf4ca9213e53 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 16 Mar 2008 12:03:52 +0100 Subject: [PATCH] force data written to stdout to be a string (cherry picked from commit 65c24d4aeca6188f4423ad1809f2415285843155) --- plugins/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/proxy.py b/plugins/proxy.py index e6635e752..6f9b1f852 100644 --- a/plugins/proxy.py +++ b/plugins/proxy.py @@ -88,7 +88,7 @@ class _IkiWikiExtPluginXMLRPCHandler(object): @staticmethod def _write(out_fd, data): - out_fd.write(data) + out_fd.write(str(data)) out_fd.flush() @staticmethod