as this account is not supported, raise a NotImplementedError instead of returning an empty list
This commit is contained in:
parent
e17d7ebaf1
commit
ec0cd86a8e
1 changed files with 1 additions and 1 deletions
|
|
@ -102,6 +102,6 @@ class SocieteGenerale(BaseBrowser):
|
||||||
if not self.is_on_page(AccountHistory):
|
if not self.is_on_page(AccountHistory):
|
||||||
# TODO: support other kind of accounts
|
# TODO: support other kind of accounts
|
||||||
self.logger.warning('This account is not supported')
|
self.logger.warning('This account is not supported')
|
||||||
return iter([])
|
raise NotImplementedError('This account is not supported')
|
||||||
|
|
||||||
return self.page.iter_transactions()
|
return self.page.iter_transactions()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue