[FIX] Now succesfully running tests for all imports.

This commit is contained in:
Ronald Portier (Therp BV)
2015-06-11 13:05:56 +02:00
parent fe67cec6c3
commit c6be8f17e4
10 changed files with 199 additions and 19 deletions

View File

@@ -252,7 +252,7 @@ class MT940(object):
stmt = self.current_statement
stmt.end_balance = str2amount(data[0], data[10:])
stmt.date = datetime.strptime(data[1:7], '%y%m%d')
stmt.id = '%s-%s' % (
stmt.statement_id = '%s-%s' % (
stmt.local_account,
stmt.date.strftime('%Y-%m-%d'),
)