mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Correct newline usage
This commit is contained in:
@@ -128,9 +128,9 @@ class HSBCParser(object):
|
||||
if len(line) <= 1:
|
||||
continue
|
||||
if line[0] == ':' and len(line) > 1:
|
||||
records.append(line[:-1])
|
||||
records.append(line)
|
||||
else:
|
||||
records[-1] = records[-1] + '\n' + line[:-1]
|
||||
records[-1] = '\n'.join([records[-1], line])
|
||||
|
||||
output = []
|
||||
for rec in records:
|
||||
|
||||
Reference in New Issue
Block a user