Commit 2acd18f1 authored by ntome's avatar ntome Committed by Romain Bignon
Browse files

[boursorama] when iterating recipients, we may be on step1 or step2

parent 70ebaf77
......@@ -304,11 +304,11 @@ def iter_transfer_recipients(self, account):
except BrowserHTTPNotFound:
return []
assert self.transfer_accounts.is_here()
try:
self.page.submit_account(account.id)
except AccountNotFound:
return []
if self.transfer_accounts.is_here():
try:
self.page.submit_account(account.id)
except AccountNotFound:
return []
assert self.recipients_page.is_here()
return self.page.iter_recipients()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment