fix finding jid on some pages
This commit is contained in:
parent
678c717162
commit
1959e79048
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ class AccountsList(LoggedPage, HTMLPage):
|
|||
item_xpath = '//table'
|
||||
|
||||
def get_history_jid(self):
|
||||
span = Attr('//span[starts-with(@id, "index:j_id")]', 'id')(self.doc)
|
||||
span = Attr('//*[starts-with(@id, "index:j_id")]', 'id')(self.doc)
|
||||
jid = span.split(':')[1]
|
||||
return jid
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue