account IDs can contain anything else than digits
This commit is contained in:
parent
95edea1f07
commit
9221f12fdf
1 changed files with 0 additions and 2 deletions
|
|
@ -99,8 +99,6 @@ class CragrBackend(BaseBackend, ICapBank):
|
||||||
return self.browser.get_accounts_list()
|
return self.browser.get_accounts_list()
|
||||||
|
|
||||||
def get_account(self, _id):
|
def get_account(self, _id):
|
||||||
if not _id.isdigit():
|
|
||||||
raise AccountNotFound()
|
|
||||||
account = self.browser.get_account(_id)
|
account = self.browser.get_account(_id)
|
||||||
if account:
|
if account:
|
||||||
return account
|
return account
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue