Index is back for some accounts...

This commit is contained in:
Florent 2014-09-04 23:36:48 +02:00
commit 3076579747
2 changed files with 11 additions and 2 deletions

View file

@ -149,6 +149,9 @@ class AccountsList(LoggedPage, HTMLPage):
def condition(self):
if self.el.find('.//td[@class="date"]') is None:
return False
if self.env['index'] > 0 and self.page.i < self.env['index']:
self.page.i += 1
return False
return True
@method