fix crash when there is the coming column with empty value
This commit is contained in:
parent
8b6505eee5
commit
1c0f2432e2
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ class AccountsPage(BasePage):
|
|||
account._params['dialogActionPerformed'] = 'SOLDE'
|
||||
account._params['attribute($SEL_$%s)' % tr.attrib['id'].split('_')[0]] = tr.attrib['id'].split('_', 1)[1]
|
||||
|
||||
if len(tds) >= 5:
|
||||
if len(tds) >= 5 and len(tds[self.COL_COMING].xpath('.//a')) > 0:
|
||||
_params = account._params.copy()
|
||||
_params['dialogActionPerformed'] = 'ENCOURS_COMPTE'
|
||||
next_pages.append(_params)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue