no history if account has no prev_balance
This commit is contained in:
parent
a33d26558b
commit
de0bf7b6ca
1 changed files with 2 additions and 0 deletions
|
|
@ -593,6 +593,8 @@ class TransactionsPage(BasePage):
|
|||
def get_card_history(self, account, coming):
|
||||
if coming:
|
||||
debit_date = account._next_debit
|
||||
elif not hasattr(account, '_prev_balance'):
|
||||
return
|
||||
else:
|
||||
debit_date = account._prev_debit
|
||||
if 'ContinueTask.do' in self.url:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue