From 2deca632060d477b7a500f2c4eaf4b5509aaaa2b Mon Sep 17 00:00:00 2001 From: Florent Date: Tue, 1 Apr 2014 11:45:22 +0200 Subject: [PATCH] Return the content, not the "request" response --- modules/ing/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ing/backend.py b/modules/ing/backend.py index 947b9d2a..72e1da8e 100644 --- a/modules/ing/backend.py +++ b/modules/ing/backend.py @@ -127,4 +127,4 @@ class INGBackend(BaseBackend, ICapBank, ICapBill): if not isinstance(bill, Bill): bill = self.get_bill(bill) self.browser.predownload(bill) - return self.browser.open("https://secure.ingdirect.fr" + bill._url) + return self.browser.open("https://secure.ingdirect.fr" + bill._url, stream=True).content