fix: credit and debit where inversed

This commit is contained in:
Romain Bignon 2012-04-10 10:17:36 +02:00
commit c902802160

View file

@ -65,8 +65,8 @@ class AccountHistory(BasePage):
category = labeldiv.attrib.get('title', '')
useless, sep, category = [part.strip() for part in category.partition(':')]
credit = tds[3].text or ""
debit = tds[4].text or ""
debit = tds[3].text or ""
credit = tds[4].text or ""
operation = Transaction(len(self.operations))
operation.parse(date=d, raw=label)