From: martin f. krafft Date: Sun, 16 Mar 2008 11:03:52 +0000 (+0100) Subject: force data written to stdout to be a string X-Git-Tag: 2.41~82 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ab204be73f29a85954afc3500c7cf4ca9213e53;p=ikiwiki.git force data written to stdout to be a string (cherry picked from commit 65c24d4aeca6188f4423ad1809f2415285843155) --- 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