From 8f41240e5d3a26ce91371684f645f864424b5488 Mon Sep 17 00:00:00 2001 From: marinaGD Date: Mon, 7 Jan 2019 11:21:37 -0200 Subject: [PATCH] fix CE url in patch --- pytrustnfe/nfe/patch.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pytrustnfe/nfe/patch.py b/pytrustnfe/nfe/patch.py index 6ca85ef..4991258 100644 --- a/pytrustnfe/nfe/patch.py +++ b/pytrustnfe/nfe/patch.py @@ -11,7 +11,7 @@ def nfeInutilizacaoCE(session, xml_send): 'Content-Type': 'application/soap+xml; charset="utf-8"' } response = session.post( - 'https://nfeh.sefaz.ce.gov.br/nfe4/services/NFeInutilizacao4', + 'https://nfe.sefaz.ce.gov.br/nfe4/services/NFeInutilizacao4', data=soap, headers=headers) response, obj = sanitize_response(response.text) return { @@ -32,3 +32,4 @@ def has_patch(cod_estado, metodo): if method in methods: return methods[method] return None + diff --git a/setup.py b/setup.py index 3c07021..2101389 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -VERSION = "1.0.30" +VERSION = "1.0.31" setup(