From 9af00e02baa175ea548777932214f58be4dd0cd1 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Fri, 24 Jul 2020 19:34:50 +0200 Subject: [PATCH] fix cfonb line terminator handling --- account_ebics/wizard/ebics_xfer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_ebics/wizard/ebics_xfer.py b/account_ebics/wizard/ebics_xfer.py index 5327223..a632360 100644 --- a/account_ebics/wizard/ebics_xfer.py +++ b/account_ebics/wizard/ebics_xfer.py @@ -519,6 +519,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('\n', '').replace('\r', '') data_out = '' max = len(data_in) i = 0