Fix infinite loop

This commit is contained in:
Florent 2013-02-25 13:35:11 +01:00 committed by Romain Bignon
commit 7ff2a9bf95

View file

@ -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: