boursorama and bp: convert labels to unicode
This commit is contained in:
parent
30a0f916bf
commit
38da7e2565
2 changed files with 4 additions and 2 deletions
|
|
@ -22,6 +22,7 @@ from decimal import Decimal
|
|||
|
||||
from weboob.capabilities.bank import Account, AccountNotFound
|
||||
from weboob.tools.browser import BasePage
|
||||
from weboob.tools.misc import to_unicode
|
||||
|
||||
|
||||
__all__ = ['AccountList']
|
||||
|
|
@ -48,7 +49,7 @@ class AccountList(BasePage):
|
|||
for line in lines:
|
||||
account = Account()
|
||||
tmp = line.xpath("./td//a")[0]
|
||||
account.label = tmp.text
|
||||
account.label = to_unicode(tmp.text)
|
||||
account._link_id = tmp.get("href")
|
||||
|
||||
tmp = line.xpath("./td/span/strong")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue