mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-12-26 19:31:43 +00:00
fix cfonb line terminator handling
This commit is contained in:
parent
156bb709c2
commit
9a958c2181
@ -532,6 +532,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(b'\n', b'').replace(b'\r', b'')
|
||||||
data_out = b''
|
data_out = b''
|
||||||
max = len(data_in)
|
max = len(data_in)
|
||||||
i = 0
|
i = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user