changeset a33a3767c9b9 in modules/account_fr_chorus:6.0 details: https://hg.tryton.org/modules/account_fr_chorus?cmd=changeset&node=a33a3767c9b9 description: Convert payload base64 bytes into ASCII string
issue10780 review364141002 (grafted from 1d7367f5a6f09ab0508622ef973b61f3649bd69d) diffstat: account.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 7a4bb956db8c -r a33a3767c9b9 account.py --- a/account.py Sat Oct 02 00:31:06 2021 +0200 +++ b/account.py Fri Oct 08 19:14:03 2021 +0200 @@ -226,7 +226,7 @@ filename = EDOC2FILENAME[self.syntax] % self.invoice.number filename = filename.replace('/', '-') return { - 'fichierFlux': base64.b64encode(data), + 'fichierFlux': base64.b64encode(data).decode('ascii'), 'nomFichier': filename, 'syntaxeFlux': EDOC2SYNTAX[self.syntax], 'avecSignature': False,