From 9bd7b396d019cd8c359165dace458837adc89fe3 Mon Sep 17 00:00:00 2001 From: marinaGD Date: Wed, 19 Dec 2018 16:50:49 -0200 Subject: [PATCH] fix flake8 --- pytrustnfe/nfe/patch.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pytrustnfe/nfe/patch.py b/pytrustnfe/nfe/patch.py index 41e224e..0c8d210 100644 --- a/pytrustnfe/nfe/patch.py +++ b/pytrustnfe/nfe/patch.py @@ -1,10 +1,14 @@ def nfeInutilizacaoCE(session, xml_send): - soap = '' + xml_send + '' + soap = '\ +' + xml_send + '' headers = { 'SOAPAction': "", 'Content-Type': 'application/soap+xml; charset="utf-8"' } - response = session.post('https://nfeh.sefaz.ce.gov.br/nfe4/services/NFeInutilizacao4', data=soap, headers=headers) + response = session.post( + 'https://nfeh.sefaz.ce.gov.br/nfe4/services/NFeInutilizacao4', + data=soap, headers=headers) return response