fixing date not in the good interval
This commit is contained in:
parent
9855ae8fa9
commit
64ef0de61d
3 changed files with 20 additions and 21 deletions
|
|
@ -62,10 +62,5 @@ class AmericanExpressBackend(BaseBackend, ICapBank):
|
|||
with self.browser:
|
||||
transactions = list(self.browser.get_history(account))
|
||||
transactions.sort(key=lambda tr: tr.rdate, reverse=True)
|
||||
return [tr for tr in transactions if not tr._is_coming]
|
||||
return transactions
|
||||
|
||||
def iter_coming(self, account):
|
||||
with self.browser:
|
||||
transactions = list(self.browser.get_history(account))
|
||||
transactions.sort(key=lambda tr: tr.rdate, reverse=True)
|
||||
return [tr for tr in transactions if tr._is_coming]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue