From 2dd47e745e42f7ec0d4e1e504035b701381cc11f Mon Sep 17 00:00:00 2001 From: Florent Date: Wed, 14 Mar 2012 10:50:07 +0100 Subject: [PATCH] Don't cut and url... --- modules/ing/browser.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/ing/browser.py b/modules/ing/browser.py index 6311de27..0195156f 100644 --- a/modules/ing/browser.py +++ b/modules/ing/browser.py @@ -84,14 +84,11 @@ class Ing(BaseBrowser): account = self.get_account(id) # The first and the second letter of the label are the account type if account.label[0:2] == "CC": - self.location('https://secure.ingdirect.fr/\ - protected/pages/cc/accountDetail.jsf') + self.location('https://secure.ingdirect.fr/protected/pages/cc/accountDetail.jsf') elif account.label[0:2] == "LA": # we want "displayTRHistoriqueLA" but this fucking page # is not directly available... - self.location('https://secure.ingdirect.fr/\ - general?command=goToAccount&account=%d&zone=COMPTE'\ - % int(id)) + self.location('https://secure.ingdirect.fr/general?command=goToAccount&account=%d&zone=COMPTE' % int(id)) else: raise NotImplementedError() return self.page.get_transactions()