aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin f. krafft <madduck@madduck.net>2008-03-16 12:03:52 +0100
committerJoey Hess <joey@kodama.kitenet.net>2008-03-17 17:17:01 -0400
commit7ab204be73f29a85954afc3500c7cf4ca9213e53 (patch)
tree00d555ae1808f9f2874240d1a6e0956d8fe2eae2
parentaaea01b924a7512cb873b733e6a1b15fb3c8ed17 (diff)
downloadikiwiki-7ab204be73f29a85954afc3500c7cf4ca9213e53.tar
ikiwiki-7ab204be73f29a85954afc3500c7cf4ca9213e53.tar.gz
force data written to stdout to be a string
(cherry picked from commit 65c24d4aeca6188f4423ad1809f2415285843155)
-rw-r--r--plugins/proxy.py2
1 files changed, 1 insertions, 1 deletions
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