Skip to content

Commit

Permalink
[FIX] Realiza umas conversões de texto para evitar erros no Odoo
Browse files Browse the repository at this point in the history
  • Loading branch information
danimaribeiro committed Aug 7, 2018
1 parent 2e9d835 commit 0f95da8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pytrustnfe/nfse/floripa/__init__.py
Expand Up @@ -74,10 +74,10 @@ def _send(certificado, method, **kwargs):
"Authorization": "Bearer %s" % kwargs['access_token']}
r = requests.post(url, headers=headers, data=xml_send)

response, obj = sanitize_response(r.text.strip().encode('utf-8'))
response, obj = sanitize_response(r.text.strip())
return {
'sent_xml': xml_send,
'received_xml': response,
'received_xml': response.encode('utf-8'),
'object': obj,
'status_code': r.status_code,
}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages


VERSION = "0.10.5"
VERSION = "0.10.6"


setup(
Expand Down

0 comments on commit 0f95da8

Please sign in to comment.