From: Gael Le Mignot Date: Fri, 22 Jul 2022 10:30:28 +0000 (+0200) Subject: Fixed byte/string error X-Git-Tag: 2.8.1-pro~98 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5e7747248a215de297dccc91118c582674408a2c;p=teleforma.git Fixed byte/string error --- 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