Commit bab1a3b2 authored by Jérome Perrin's avatar Jérome Perrin

accounting_l10n_fr: python3 support WIP 🚧

parent 9baeaed0
...@@ -21,7 +21,9 @@ if test_compta_demat_compatibility: ...@@ -21,7 +21,9 @@ if test_compta_demat_compatibility:
# https://github.com/DGFiP/Test-Compta-Demat/issues/39 # https://github.com/DGFiP/Test-Compta-Demat/issues/39
fec_file = unicodedata.normalize( fec_file = unicodedata.normalize(
'NFKD', fec_file.replace(u"€", "EUR") 'NFKD', fec_file.replace(u"€", "EUR")
).encode('ascii', 'ignore') ).encode(
'ascii', 'ignore'
).decode('ascii')
zipbuffer = BytesIO() zipbuffer = BytesIO()
zipfilename = at_date.strftime('FEC-%Y%m%d.zip') zipfilename = at_date.strftime('FEC-%Y%m%d.zip')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment