force data written to stdout to be a string

(cherry picked from commit 65c24d4aeca6188f4423ad1809f2415285843155)
master
martin f. krafft 2008-03-16 12:03:52 +01:00 committed by Joey Hess
parent aaea01b924
commit 7ab204be73
1 changed files with 1 additions and 1 deletions

View File

@ -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