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

accounting_l10n_fr: python3 support WIP 🚧

parent 8543a948
......@@ -21,7 +21,9 @@ if test_compta_demat_compatibility:
# https://github.com/DGFiP/Test-Compta-Demat/issues/39
fec_file = unicodedata.normalize(
'NFKD', fec_file.replace(u"€", "EUR")
).encode('ascii', 'ignore')
).encode(
'ascii', 'ignore'
).decode('ascii')
zipbuffer = BytesIO()
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