Skip to content

Commit

Permalink
[11.0][FIX]Decode de bytes para string (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
carcaroff authored and danimaribeiro committed Jun 14, 2018
1 parent 0e31f04 commit 4fe4ba8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion br_nfe/wizard/export_nfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def nfse_export(self):
invoice.generate_nfe_proc()
if invoice.nfe_processada:
xmls.append({
'content': base64.decodestring(invoice.nfe_processada),
'content': base64.decodestring(
invoice.nfe_processada).decode(),
'name': invoice.nfe_processada_name
})

Expand Down

0 comments on commit 4fe4ba8

Please sign in to comment.