bnporc company module

This commit is contained in:
Baptiste Delpey 2015-07-28 16:22:44 +02:00 committed by Romain Bignon
commit 4477c32e9c
3 changed files with 100 additions and 13 deletions

View file

@ -74,8 +74,6 @@ class BNPorcModule(Module, CapBank, CapMessages):
yield account
def get_account(self, _id):
if not _id.isdigit():
raise AccountNotFound()
account = self.browser.get_account(_id)
if account:
return account