Raise NotImplementedError if account type not supported
This commit is contained in:
parent
5f9641e201
commit
a1138c86b9
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ class Ing(BaseBrowser):
|
|||
def get_history(self, account):
|
||||
if not isinstance(account, Account):
|
||||
account = self.get_account(account)
|
||||
if account.type != Account.TYPE_CHECKING and\
|
||||
account.type != Account.TYPE_SAVINGS:
|
||||
raise NotImplementedError()
|
||||
if self.where != "start":
|
||||
self.location(self.accountspage)
|
||||
data = {"AJAX:EVENTS_COUNT": 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue