strip displayed balance at end of transaction labels

This commit is contained in:
Romain Bignon 2014-09-02 11:56:07 +02:00
commit 6cafeb7a4b

View file

@ -448,6 +448,10 @@ class TransactionsPage(BasePage):
t.parse(date, re.sub(r'[ ]+', ' ', raw), vdate)
t.set_amount(credit, debit)
# Strip the balance displayed in transaction labels
t.label = re.sub('solde en valeur : .*', '', t.label)
yield t
COL_CARD_DATE = 0