fixing duplicate entry on card account
This commit is contained in:
parent
80fd2db3d4
commit
07d544f259
1 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
|
||||
from weboob.deprecated.browser import Browser, BrowserIncorrectPassword
|
||||
from weboob.capabilities.bank import Account
|
||||
|
||||
from .pages import LoginPage, AccountsList, AccountHistory, CardHistory, UpdateInfoPage, AuthenticationPage
|
||||
|
||||
|
|
@ -119,6 +120,11 @@ class Boursorama(Browser):
|
|||
|
||||
def get_history(self, account):
|
||||
link = account._link_id
|
||||
#We need to skip the first link on card page because there is a summary,
|
||||
#and so the recent transaction are displayed twice
|
||||
if account.type == Account.TYPE_CARD:
|
||||
self.location(link)
|
||||
link = self.page.get_next_url()
|
||||
|
||||
while link is not None:
|
||||
self.location(link)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue