summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/XML.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client/XML.py')
-rw-r--r--src/lib/Client/XML.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/XML.py b/src/lib/Client/XML.py
index baf533a02..8de3b3a7e 100644
--- a/src/lib/Client/XML.py
+++ b/src/lib/Client/XML.py
@@ -16,7 +16,7 @@ except ImportError:
SubElement = xml.etree.ElementTree.SubElement
XML = xml.etree.ElementTree.XML
def tostring(e, encoding=None, xml_declaration=None):
- return xml.etree.ElementTree.tostring(e)
+ return xml.etree.ElementTree.tostring(e, encoding=encoding)
driver = 'etree-py'
except ImportError:
try: