Account.link_id becomes a private attribute
This commit is contained in:
parent
679177d450
commit
35688f58c9
18 changed files with 37 additions and 30 deletions
|
|
@ -57,5 +57,5 @@ class HSBCBackend(BaseBackend, ICapBank):
|
|||
|
||||
def iter_history(self, account):
|
||||
with self.browser:
|
||||
for history in self.browser.get_history(account.link_id):
|
||||
for history in self.browser.get_history(account._link_id):
|
||||
yield history
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@ class AccountsListPage(BasePage):
|
|||
|
||||
a = tds[0].findall('a')[-1]
|
||||
account.label = a.text.strip()
|
||||
account.link_id = a.attrib['href']
|
||||
account._link_id = a.attrib['href']
|
||||
|
||||
if not 'CPT_IdPrestation' in account.link_id:
|
||||
if not 'CPT_IdPrestation' in account._link_id:
|
||||
continue
|
||||
|
||||
tag = tds[2].find('font')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue