Fix account list with CA Toulouse

Yes, they just removed a surrounding tag. Nothing else changed.
This commit is contained in:
Laurent Bachelier 2011-07-01 00:00:12 +02:00
commit 514a6b3585

View file

@ -55,7 +55,7 @@ class AccountsList(CragrBasePage):
account.label = div.find('a').text.strip()
account.link_id = div.find('a').get('href', '')
account.id = div.findall('br')[1].tail.strip()
s = div.find('div').find('span').find('b').text
s = div.find('div').find('b').text
account.balance = clean_amount(s)
l.append(account)
return l