diff --git a/source/app/controllers/pacs/cfdi_cert.py b/source/app/controllers/pacs/cfdi_cert.py index 90cdf36..3d101ec 100644 --- a/source/app/controllers/pacs/cfdi_cert.py +++ b/source/app/controllers/pacs/cfdi_cert.py @@ -181,8 +181,8 @@ class SATCertificate(object): node.text = self.serial_number node = xmlsec.tree.find_node(tree, 'SignatureValue') node.text = node.text.replace('\n', '') - # ~ node = xmlsec.tree.find_node(tree, 'Modulus') - # ~ node.text = node.text.replace('\n', '') + node = xmlsec.tree.find_node(tree, 'Modulus') + node.text = node.text.replace('\n', '') # ~ xml_signed = ET.tostring(tree, # ~ xml_declaration=True, encoding='UTF-8').decode() diff --git a/source/app/settings.py b/source/app/settings.py index 28e0ce5..7fa568d 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -293,5 +293,5 @@ DEFAULT_GLOBAL = { # ~ # ~ """ -# ~ TEMPLATE_CANCEL = """""" -TEMPLATE_CANCEL = """""" +TEMPLATE_CANCEL = """""" +# ~ TEMPLATE_CANCEL = """"""