Add multi-account support for bills

This commit is contained in:
Florent 2013-02-03 11:23:08 +01:00
commit c0fc9c7dd6
3 changed files with 29 additions and 23 deletions

View file

@ -83,7 +83,7 @@ class FreeMobileBackend(BaseBackend, ICapBill):
subscription = self.get_subscription(subscription)
with self.browser:
for bill in self.browser.iter_bills(subscription.id):
for bill in self.browser.iter_bills(subscription):
yield bill
def get_details(self, subscription):