Add multi-account support for bills
This commit is contained in:
parent
124e72aeb8
commit
c0fc9c7dd6
3 changed files with 29 additions and 23 deletions
|
|
@ -91,10 +91,10 @@ class Freemobile(BaseBrowser):
|
|||
self.location('/moncompte/index.php?page=suiviconso')
|
||||
return self.page.get_details(subscription)
|
||||
|
||||
def iter_bills(self, parentid):
|
||||
def iter_bills(self, subscription):
|
||||
if not self.is_on_page(DetailsPage):
|
||||
self.location('/moncompte/index.php?page=suiviconso')
|
||||
return self.page.date_bills()
|
||||
return self.page.date_bills(subscription)
|
||||
|
||||
def get_bill(self, id):
|
||||
assert isinstance(id, basestring)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue