From 7bad8139fd97a01dd49b47e580f0b7d2d3781589 Mon Sep 17 00:00:00 2001 From: juliomax Date: Mon, 30 Mar 2015 10:34:51 -0300 Subject: [PATCH] Update certificado.py Resolvendo problema libxml2 library function failed:expr=xpointer(id('')) que impedia a assinatura do xml --- pysped/xml_sped/certificado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysped/xml_sped/certificado.py b/pysped/xml_sped/certificado.py index def0ff10..b633e707 100644 --- a/pysped/xml_sped/certificado.py +++ b/pysped/xml_sped/certificado.py @@ -379,7 +379,7 @@ def _finaliza_xml(self, xml): def assina_xml(self, xml): self._inicia_funcoes_externas() xml = self._prepara_doc_xml(xml) - + xml = xml.replace('', '').strip() # # Colocamos o texto no avaliador XML #