if an account type is not supported, raise NotImplementedError instead of BrokenPageError
This commit is contained in:
parent
f8505d97c0
commit
bfd09a2383
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ class TransactionsPage(BasePage):
|
||||||
if len(self.document.xpath('//table[@id="TabFact"]')) > 0:
|
if len(self.document.xpath('//table[@id="TabFact"]')) > 0:
|
||||||
return self.get_card_history(account, coming)
|
return self.get_card_history(account, coming)
|
||||||
|
|
||||||
raise BrokenPageError('Unable to find what kind of history it is.')
|
raise NotImplementedError('Unable to find what kind of history it is.')
|
||||||
|
|
||||||
COL_COMPTA_DATE = 0
|
COL_COMPTA_DATE = 0
|
||||||
COL_LABEL = 1
|
COL_LABEL = 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue