use uniq IDs for accounts

This commit is contained in:
Romain Bignon 2012-04-18 00:55:23 +02:00
commit 011dcc9688
3 changed files with 25 additions and 22 deletions

View file

@ -50,8 +50,6 @@ class CreditMutuelBackend(BaseBackend, ICapBank):
yield account
def get_account(self, _id):
if not _id.isdigit():
raise AccountNotFound()
account = self.browser.get_account(_id)
if account:
return account