]> git.parisson.com Git - teleforma.git/commitdiff
Fixed byte/string error
authorGael Le Mignot <gael@pilotsystems.net>
Fri, 22 Jul 2022 10:30:28 +0000 (12:30 +0200)
committerGael Le Mignot <gael@pilotsystems.net>
Fri, 22 Jul 2022 10:30:28 +0000 (12:30 +0200)
teleforma/utils/xmltodict2.py

index d9564d5a9ed7bead7ff18edd407c0efe3fbef4c7..2d885151618e3f857cf05312fbaea1beb3c88d44 100644 (file)
@@ -131,7 +131,7 @@ class Xml2Obj:
                """SAX character data event handler"""
                if self._inCode or data.strip():
                        data = data.replace("&lt;", "<")
-                       data = data.encode(default_encoding)
+                       #data = data.encode(default_encoding)
                        if self._inCode:
                                if self._mthdCode:
                                        self._mthdCode += data