LCL,BNPorc: fix str to unicode conversion warnings
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
This commit is contained in:
parent
bb6c65bb69
commit
b440918eca
2 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ class AccountsList(BasePage):
|
|||
if len(str(account.id)) == 23:
|
||||
account.id = str(account.id)[5:21]
|
||||
|
||||
account.label = tr.xpath('.//td[@class="libelleCompte"]/a')[0].text.strip()
|
||||
account.label = u''+tr.xpath('.//td[@class="libelleCompte"]/a')[0].text.strip()
|
||||
|
||||
tds = tr.findall('td')
|
||||
account.balance = self._parse_amount(tds[3].find('a'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue