fix crash on coming operations
This commit is contained in:
parent
9a7d5edb79
commit
35f03a00a1
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class AccountsList(LoggedPage, HTMLPage):
|
||||||
def condition(self):
|
def condition(self):
|
||||||
if self.el.find('.//td[@class="date"]') is None:
|
if self.el.find('.//td[@class="date"]') is None:
|
||||||
return False
|
return False
|
||||||
if self.env['index'] > 0 and self.page.i < self.env['index']:
|
if 'index' in self.env and self.env['index'] > 0 and self.page.i < self.env['index']:
|
||||||
self.page.i += 1
|
self.page.i += 1
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue