bnporc account list: strip account label
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com> Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
parent
6779c2942b
commit
444a2a9971
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class AccountsList(BasePage):
|
|||
elif td.attrib.get('headers', '').startswith('Libelle_'):
|
||||
a = td.findall('a')
|
||||
label = unicode(a[0].text)
|
||||
account.label = label
|
||||
account.label = label.strip()
|
||||
m = self.LINKID_REGEXP.match(a[0].attrib.get('href', ''))
|
||||
if m:
|
||||
account.link_id = m.group(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue