fix cfonb line terminator handling

This commit is contained in:
Luc De Meyer 2020-07-24 19:34:50 +02:00
parent 64bf57ef85
commit 253b34eb3e

View File

@ -519,6 +519,7 @@ class EbicsXfer(models.TransientModel):
self.ebics_config_id.order_number = next self.ebics_config_id.order_number = next
def _insert_line_terminator(self, data_in, line_len): def _insert_line_terminator(self, data_in, line_len):
data_in = data_in.replace('\n', '').replace('\r', '')
data_out = '' data_out = ''
max = len(data_in) max = len(data_in)
i = 0 i = 0