Fixed a bug in the banktransfer CSV import

This commit is contained in:
Raphael Michel
2015-07-14 19:55:14 +02:00
parent 73260d1bcc
commit dcf73fc782

View File

@@ -14,7 +14,7 @@ def parse(data, hint):
raise HintMismatchError('Wrong column count')
for row in data:
resrow = {}
if None in row or len(row) == 0:
if None in row or len(row) != hint['cols']:
# Wrong column count
continue
if hint.get('payer') is not None: