The CrAgr backend now systematically goes back to the home page when get_accounts_list is triggered.
Signed-off-by: Xavier G <xavier@tuxfamily.org> Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
parent
61016fc13f
commit
70a3effae4
1 changed files with 1 additions and 2 deletions
|
|
@ -67,8 +67,7 @@ class Cragr(BaseBrowser):
|
|||
raise BrowserIncorrectPassword()
|
||||
|
||||
def get_accounts_list(self):
|
||||
if not self.is_on_page(pages.AccountsList) or self.page.is_account_page():
|
||||
self.home()
|
||||
self.home()
|
||||
return self.page.get_list()
|
||||
|
||||
def get_account(self, id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue