Simplify the code

This commit is contained in:
Florent 2014-04-01 12:59:13 +02:00
commit 1994970385
3 changed files with 10 additions and 18 deletions

View file

@ -145,7 +145,7 @@ class IngBrowser(LoginBrowser):
@need_login
def get_recipients(self, account):
self.transferpage.stay_or_go()
if self.page.ischecked(account):
if self.page.ischecked(account.id):
return self.page.get_recipients()
else:
# It is hard to check the box and to get the real list.