From 94f7941a841721765ab6700b3597038d82bbd7d5 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 9 Mar 2012 12:49:07 +0100 Subject: [PATCH] fix parsing DAB transactions --- modules/hsbc/pages/accounts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/hsbc/pages/accounts.py b/modules/hsbc/pages/accounts.py index 3108a718..252f88bf 100644 --- a/modules/hsbc/pages/accounts.py +++ b/modules/hsbc/pages/accounts.py @@ -59,7 +59,8 @@ class HistoryPage(BasePage): (re.compile('^PRLV (?P.*)'), Transaction.TYPE_ORDER, '%(text)s'), (re.compile('^CB (?P.*)\s+(?P
\d+)/(?P\d+)\s*(?P.*)'), Transaction.TYPE_CARD, '%(mm)s/%(dd)s: %(text)s'), - (re.compile('^DAB (?P.*)'), Transaction.TYPE_WITHDRAWAL, '%(text)s'), + (re.compile('^DAB (?P
\d{2})/(?P\d{2}) (?P.*)'), + Transaction.TYPE_WITHDRAWAL, '%(mm)s/%(dd)s: %(text)s'), (re.compile('^CHEQUE$'), Transaction.TYPE_CHECK, 'CHEQUE'), (re.compile('^COTIS\.? (?P.*)'), Transaction.TYPE_BANK, '%(text)s'), (re.compile('^REMISE (?P.*)'), Transaction.TYPE_DEPOSIT, '%(text)s'),