From 63cbeea026ba303808ea930676da68fc3aea3f26 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 10 Feb 2013 17:58:09 +0100 Subject: [PATCH] ignore card credits all the time --- modules/creditdunord/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/creditdunord/pages.py b/modules/creditdunord/pages.py index 217d2393..a35f8398 100644 --- a/modules/creditdunord/pages.py +++ b/modules/creditdunord/pages.py @@ -151,7 +151,7 @@ class TransactionsPage(CDNBasePage): t.parse(date, raw) t.set_amount(line[self.COL_VALUE]) - if self.is_coming is True and raw.startswith('TOTAL DES') and t.amount > 0: + if self.is_coming is not None and raw.startswith('TOTAL DES') and t.amount > 0: # ignore card credit and next transactions are already debited self.is_coming = False continue