fix accounts parsing

This commit is contained in:
Romain Bignon 2014-02-27 08:28:25 +01:00
commit 5345645b0f

View file

@ -253,7 +253,7 @@ class AccountsPage(BasePage):
for field in self.document.xpath('//input'):
params[field.attrib['name']] = field.attrib.get('value', '')
for div in self.document.xpath('//div[@class="btit"]'):
for div in self.document.xpath('//div[@class="btit bnofil"]'):
account_type = self.ACCOUNT_TYPES.get(div.text.strip(), Account.TYPE_UNKNOWN)
if account_type is None: