Browse Source

change the way to get the keys on **kwargs, fix the keyError when disabling NFEs range

pull/143/head
marinaGD 8 years ago
parent
commit
f3c8db2e4f
  1. 2
      pytrustnfe/Servidores.py
  2. 2
      pytrustnfe/utils.py

2
pytrustnfe/Servidores.py

@ -71,8 +71,6 @@ SIGLA_ESTADO = {
def localizar_url(servico, estado, mod='55', ambiente=2): def localizar_url(servico, estado, mod='55', ambiente=2):
import ipdb
ipdb.set_trace()
sigla = SIGLA_ESTADO[estado] sigla = SIGLA_ESTADO[estado]
ws = ESTADO_WS[sigla] ws = ESTADO_WS[sigla]

2
pytrustnfe/utils.py

@ -101,8 +101,6 @@ def gerar_nfeproc(envio, recibo):
def gerar_nfeproc_cancel(nfe_proc, cancelamento): def gerar_nfeproc_cancel(nfe_proc, cancelamento):
docEnvio = ET.fromstring(nfe_proc) docEnvio = ET.fromstring(nfe_proc)
import ipdb
ipdb.set_trace()
docCancel = ET.fromstring(cancelamento) docCancel = ET.fromstring(cancelamento)
ev_cancelamento = _find_node(docCancel, "retEvento") ev_cancelamento = _find_node(docCancel, "retEvento")

Loading…
Cancel
Save