do not crash if there is no history link for an account
This commit is contained in:
parent
df3fdcd123
commit
9bdd96271c
1 changed files with 2 additions and 0 deletions
|
|
@ -126,6 +126,8 @@ class AccountsList(CragrBasePage):
|
|||
if first_link is not None:
|
||||
account._link_id = first_link.get('href')
|
||||
self.logger.debug(' the history link appears to be %s' % account._link_id)
|
||||
else:
|
||||
account._link_id = None
|
||||
l.append(account)
|
||||
return l
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue