From 46efb3693cdd137024f143e4cdeb5d9239c362f2 Mon Sep 17 00:00:00 2001 From: El Mau Date: Thu, 25 Nov 2021 14:40:37 -0600 Subject: [PATCH] =?UTF-8?q?Agregar=20declaraci=C3=B3n=20de=20encoding=20XM?= =?UTF-8?q?L=20para=20cancelaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/app/controllers/pacs/cfdi_cert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/controllers/pacs/cfdi_cert.py b/source/app/controllers/pacs/cfdi_cert.py index 00ed303..4c3a0a2 100644 --- a/source/app/controllers/pacs/cfdi_cert.py +++ b/source/app/controllers/pacs/cfdi_cert.py @@ -171,7 +171,7 @@ class SATCertificate(object): xml_signed = ET.tostring( tree, encoding='utf-8', xml_declaration=True).decode() - xml_signed = xml_signed.replace("'", '"').replace('utf', 'UTF') + # ~ xml_signed = xml_signed.replace("'", '"').replace('utf', 'UTF') return xml_signed