encodestring -> encodebytes

This commit is contained in:
Luc De Meyer
2021-04-11 20:23:07 +02:00
parent 364d8d256d
commit 418a6f86b8
2 changed files with 2 additions and 2 deletions

View File

@@ -488,7 +488,7 @@ class EbicsXfer(models.TransientModel):
"\nPlease check this file and rename in case there is "
"no risk on duplicate transactions.")
% fn)
data = base64.encodestring(data)
data = base64.encodebytes(data)
ef_vals = {
'name': fn,
'data': data,