Fixed the CrAgr backend, allowing a second retrieving of the accounts list.

Signed-off-by: Xavier G <xavier@tuxfamily.org>
Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
Xavier G 2010-11-13 01:04:11 +01:00 committed by Romain Bignon
commit be990c150f

View file

@ -66,7 +66,7 @@ class Cragr(BaseBrowser):
raise BrowserIncorrectPassword()
def get_accounts_list(self):
if not self.is_on_page(pages.AccountsList):
if not self.is_on_page(pages.AccountsList) or self.page.is_account_page():
self.home()
return self.page.get_list()