Browse Source

fix CE url in patch

pull/211/head
marinaGD 7 years ago
parent
commit
8f41240e5d
  1. 3
      pytrustnfe/nfe/patch.py
  2. 2
      setup.py

3
pytrustnfe/nfe/patch.py

@ -11,7 +11,7 @@ def nfeInutilizacaoCE(session, xml_send):
'Content-Type': 'application/soap+xml; charset="utf-8"' 'Content-Type': 'application/soap+xml; charset="utf-8"'
} }
response = session.post( 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) data=soap, headers=headers)
response, obj = sanitize_response(response.text) response, obj = sanitize_response(response.text)
return { return {
@ -32,3 +32,4 @@ def has_patch(cod_estado, metodo):
if method in methods: if method in methods:
return methods[method] return methods[method]
return None return None

2
setup.py

@ -2,7 +2,7 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
VERSION = "1.0.30"
VERSION = "1.0.31"
setup( setup(

Loading…
Cancel
Save