Fix conversion warning
This commit is contained in:
parent
3b2bafdf12
commit
dba66858e4
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class AccountsList(BasePage):
|
||||||
account.id = re.search('\d', link.attrib['href']).group(0)
|
account.id = re.search('\d', link.attrib['href']).group(0)
|
||||||
if not (account.id in ids):
|
if not (account.id in ids):
|
||||||
ids.append(account.id)
|
ids.append(account.id)
|
||||||
account.label = link.text
|
account.label = unicode(link.text)
|
||||||
urltofind = './/a[@href="' + link.attrib['href'] + '"]'
|
urltofind = './/a[@href="' + link.attrib['href'] + '"]'
|
||||||
linkbis = self.document.xpath(urltofind).pop()
|
linkbis = self.document.xpath(urltofind).pop()
|
||||||
if linkbis.text == link.text:
|
if linkbis.text == link.text:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue