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:
|
if len(line) <= 1:
|
||||||
continue
|
continue
|
||||||
if line[0] == ':' and len(line) > 1:
|
if line[0] == ':' and len(line) > 1:
|
||||||
records.append(line[:-1])
|
records.append(line)
|
||||||
else:
|
else:
|
||||||
records[-1] = records[-1] + '\n' + line[:-1]
|
records[-1] = '\n'.join([records[-1], line])
|
||||||
|
|
||||||
output = []
|
output = []
|
||||||
for rec in records:
|
for rec in records:
|
||||||
|
|||||||
Reference in New Issue
Block a user