Add multiaccount support for history command

This commit is contained in:
Florent 2012-08-27 15:55:13 +02:00
commit c4f44361b6
3 changed files with 6 additions and 3 deletions

View file

@ -76,7 +76,7 @@ class Freemobile(BaseBrowser):
def get_history(self, subscription):
if not self.is_on_page(HistoryPage):
self.location('/moncompte/ajax.php?page=consotel_current_month', 'login=' + self.username)
self.location('/moncompte/ajax.php?page=consotel_current_month', 'login=' + subscription._login)
return self.page.get_calls(subscription)
def get_details(self, subscription):