support many kind of accounts

This commit is contained in:
Romain Bignon 2012-04-16 16:54:30 +02:00
commit 66d68c50fb
3 changed files with 12 additions and 10 deletions

View file

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