From 061c90e4140e9fac7e1a3ef6fa2ef99bd79d4b68 Mon Sep 17 00:00:00 2001 From: Bruno Date: Fri, 12 Jul 2024 13:49:17 -0300 Subject: [PATCH] [ADD] informative comment on the error line --- src/erpbrasil/edoc/nfe.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/erpbrasil/edoc/nfe.py b/src/erpbrasil/edoc/nfe.py index 56a6aa3..5915f7c 100644 --- a/src/erpbrasil/edoc/nfe.py +++ b/src/erpbrasil/edoc/nfe.py @@ -1027,7 +1027,9 @@ def consultar_distribuicao( ) def monta_processo(self, edoc, proc_envio, proc_recibo=None): - nfe = proc_envio.envio_raiz.find("{" + self._namespace + "}NFe") + nfe = proc_envio.envio_raiz.find( + "{" + self._namespace + "}NFe" + ) # Se proc_envio for 'None', debugar o método 'analisar_retorno_raw' if proc_recibo: protocolos = proc_recibo.resposta.protNFe else: