From 5e7747248a215de297dccc91118c582674408a2c Mon Sep 17 00:00:00 2001 From: Gael Le Mignot Date: Fri, 22 Jul 2022 12:30:28 +0200 Subject: [PATCH] Fixed byte/string error --- teleforma/utils/xmltodict2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/utils/xmltodict2.py b/teleforma/utils/xmltodict2.py index d9564d5a..2d885151 100644 --- a/teleforma/utils/xmltodict2.py +++ b/teleforma/utils/xmltodict2.py @@ -131,7 +131,7 @@ class Xml2Obj: """SAX character data event handler""" if self._inCode or data.strip(): data = data.replace("<", "<") - data = data.encode(default_encoding) + #data = data.encode(default_encoding) if self._inCode: if self._mthdCode: self._mthdCode += data -- 2.39.5