Private GIT

Skip to content
Snippets Groups Projects
Commit a625560a authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

Merge pull request #1701 from abeloin/patch-rtorrent_xml

rtorrent: Fix encoding issue in windows
parents f8666102 5463a0fc
No related merge requests found
...@@ -163,7 +163,7 @@ class RequestsTransport(xmlrpc_client.Transport): ...@@ -163,7 +163,7 @@ class RequestsTransport(xmlrpc_client.Transport):
Response tuple and target method. Response tuple and target method.
""" """
p, u = self.getparser() p, u = self.getparser()
p.feed(response.text) p.feed(response.text.encode('utf-8'))
p.close() p.close()
return u.close() return u.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment