Skip to content

Commit cef4e68

Browse files
[FIX] erpbrasil.edoc: fix consulta_status
1 parent 845963f commit cef4e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/erpbrasil/edoc/cte.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
RetCte,
1616
RetEventoCte,
1717
TconsSitCte,
18-
TconsStatServ,
1918
Tcte,
19+
ConsStatServCte
2020
)
2121

2222

@@ -202,7 +202,7 @@ def _verifica_resposta_envio_sucesso(self, proc_envio):
202202
)
203203

204204
def status_servico(self):
205-
raiz = TconsStatServ(
205+
raiz = ConsStatServCte(
206206
tpAmb=self.ambiente, cUF=self.uf, versao=self.versao
207207
)
208208
return self._post(

0 commit comments

Comments
 (0)