Skip to content

Commit

Permalink
[ADD] informative comment on the error line
Browse files Browse the repository at this point in the history
  • Loading branch information
corredato committed Jul 12, 2024
1 parent e7e5b2b commit 061c90e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/erpbrasil/edoc/nfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 061c90e

Please sign in to comment.