Fix python proxy to not crash when fed unicode data in getstate and setstate.
[ikiwiki.git] / plugins / proxy.py
index 41cc45700bc8c730c96b4c11ae2b2277af95d3ba..ca731301fbbd46e54640bdabe95fb41bbcf5890f 100755 (executable)
@@ -175,7 +175,7 @@ class _IkiWikiExtPluginXMLRPCHandler(object):
         data = _xmlrpc_client.loads(xml)[0][0]
         self._debug_fn(
             'parsed data from response to procedure {0}: [{1}]'.format(
-                cmd, data))
+                cmd, repr(data)))
         return data
 
     def handle_rpc(self, in_fd, out_fd):