ignore card credits all the time
This commit is contained in:
parent
db52ac2619
commit
63cbeea026
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue