From 9a958c218185c35af160103dad17400816a9e321 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Fri, 24 Jul 2020 19:10:03 +0200 Subject: [PATCH] fix cfonb line terminator handling --- account_ebics/wizards/ebics_xfer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_ebics/wizards/ebics_xfer.py b/account_ebics/wizards/ebics_xfer.py index 0bfa18f..8166462 100644 --- a/account_ebics/wizards/ebics_xfer.py +++ b/account_ebics/wizards/ebics_xfer.py @@ -532,6 +532,7 @@ class EbicsXfer(models.TransientModel): self.ebics_config_id.order_number = next def _insert_line_terminator(self, data_in, line_len): + data_in = data_in.replace(b'\n', b'').replace(b'\r', b'') data_out = b'' max = len(data_in) i = 0