if link is not a AccountHistory, returns an empty list
This commit is contained in:
parent
22c2210fe7
commit
6e430010ab
1 changed files with 3 additions and 3 deletions
|
|
@ -84,8 +84,8 @@ class SocieteGenerale(BaseBrowser):
|
||||||
def iter_history(self, url):
|
def iter_history(self, url):
|
||||||
self.location(url)
|
self.location(url)
|
||||||
|
|
||||||
assert self.is_on_page(AccountHistory)
|
if not self.is_on_page(AccountHistory):
|
||||||
#self.location(self.page.get_part_url())
|
# TODO: support other kind of accounts
|
||||||
|
return iter([])
|
||||||
|
|
||||||
#assert self.is_on_page(AccountHistoryPart)
|
|
||||||
return self.page.iter_transactions()
|
return self.page.iter_transactions()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue