Fix infinite loop
This commit is contained in:
parent
b400544e90
commit
7ff2a9bf95
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ class AccountsList(BasePage):
|
|||
return jid
|
||||
|
||||
def islast(self):
|
||||
nomore = self.document.xpath('//span[@class="no-more-transactions"]')
|
||||
nomore = self.document.getroot().cssselect('.no-more-transactions')
|
||||
if len(nomore) > 0:
|
||||
return True
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue