Fix pdf downloading

This commit is contained in:
Florent 2012-07-03 17:07:49 +02:00
commit 7f290ef512
2 changed files with 9 additions and 3 deletions

View file

@ -102,6 +102,6 @@ class Freemobile(BaseBrowser):
def download_bill(self, id):
assert isinstance(id, basestring)
date = id.split('.')[1]
bill = self.get_bill(id)
return self.readurl('/moncompte/ajax.php?page=facture&mode=html&date=' + date)
return self.readurl(bill._url)