From f3c8db2e4fa7107578f15cba6197b8d8132d33cb Mon Sep 17 00:00:00 2001 From: marinaGD Date: Thu, 28 Jun 2018 15:54:44 -0300 Subject: [PATCH] change the way to get the keys on **kwargs, fix the keyError when disabling NFEs range --- pytrustnfe/Servidores.py | 2 -- pytrustnfe/utils.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/pytrustnfe/Servidores.py b/pytrustnfe/Servidores.py index c8d71e0..02aa4b5 100644 --- a/pytrustnfe/Servidores.py +++ b/pytrustnfe/Servidores.py @@ -71,8 +71,6 @@ SIGLA_ESTADO = { def localizar_url(servico, estado, mod='55', ambiente=2): - import ipdb - ipdb.set_trace() sigla = SIGLA_ESTADO[estado] ws = ESTADO_WS[sigla] diff --git a/pytrustnfe/utils.py b/pytrustnfe/utils.py index c327861..b5964ae 100644 --- a/pytrustnfe/utils.py +++ b/pytrustnfe/utils.py @@ -101,8 +101,6 @@ def gerar_nfeproc(envio, recibo): def gerar_nfeproc_cancel(nfe_proc, cancelamento): docEnvio = ET.fromstring(nfe_proc) - import ipdb - ipdb.set_trace() docCancel = ET.fromstring(cancelamento) ev_cancelamento = _find_node(docCancel, "retEvento")