fix cfonb line terminator handling

This commit is contained in:
Luc De Meyer 2020-07-24 19:10:03 +02:00
parent 31eea3370e
commit e99b40244b

View File

@ -522,6 +522,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