do not support other kind of account histories than CPT
This commit is contained in:
parent
3827f5c11f
commit
5b9c359487
1 changed files with 4 additions and 4 deletions
|
|
@ -55,10 +55,6 @@ class AccountsListPage(BasePage):
|
||||||
if account_type != 'CPT':
|
if account_type != 'CPT':
|
||||||
account.id += '.%s' % account_type
|
account.id += '.%s' % account_type
|
||||||
|
|
||||||
if account_type == 'Ass':
|
|
||||||
# We don't like licking asses.
|
|
||||||
account._link_id = None
|
|
||||||
|
|
||||||
if account_type == 'CB':
|
if account_type == 'CB':
|
||||||
accounts[0]._card_links.append(account._link_id)
|
accounts[0]._card_links.append(account._link_id)
|
||||||
if not accounts[0].coming:
|
if not accounts[0].coming:
|
||||||
|
|
@ -66,6 +62,10 @@ class AccountsListPage(BasePage):
|
||||||
accounts[0].coming += account.balance
|
accounts[0].coming += account.balance
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if account_type != 'CPT':
|
||||||
|
# Don't support other kind of account histories.
|
||||||
|
account._link_id = None
|
||||||
|
|
||||||
account.currency = account.get_currency(tds[1].text)
|
account.currency = account.get_currency(tds[1].text)
|
||||||
account._card_links = []
|
account._card_links = []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue