From 1bab1cb23c4bededc3ef98a262146f343f087f27 Mon Sep 17 00:00:00 2001 From: El Mau Date: Mon, 24 Jan 2022 12:37:42 -0600 Subject: [PATCH] =?UTF-8?q?Quitar=20todos=20los=20saltos=20de=20l=C3=ADnea?= =?UTF-8?q?=20del=20XML=20de=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 3d101ec..ce9bb1e 100644 --- a/source/app/controllers/pacs/cfdi_cert.py +++ b/source/app/controllers/pacs/cfdi_cert.py @@ -186,7 +186,7 @@ class SATCertificate(object): # ~ xml_signed = ET.tostring(tree, # ~ xml_declaration=True, encoding='UTF-8').decode() - xml_signed = ET.tostring(tree, encoding='UTF-8').decode() + xml_signed = ET.tostring(tree, encoding='UTF-8').decode().replace('\n', '') return xml_signed