boursorama and bp: convert labels to unicode

This commit is contained in:
Gabriel Kerneis 2012-04-01 14:32:28 +02:00 committed by Romain Bignon
commit 38da7e2565
2 changed files with 4 additions and 2 deletions

View file

@ -23,6 +23,7 @@ from decimal import Decimal
from weboob.capabilities.bank import Account
from weboob.tools.browser import BasePage
from weboob.tools.misc import to_unicode
class AccountsList(BasePage):
@ -42,7 +43,7 @@ class AccountsList(BasePage):
elif td.attrib.get('class', '') == 'account-name':
a = td.find('a')
account.label = a.text
account.label = to_unicode(a.text)
account._link_id = a.get('href', '')
elif td.attrib.get('class', '') == 'account-number':