From a56767fbf53e866170c34e17b3348dc34f5753bc Mon Sep 17 00:00:00 2001 From: Johann Broudin Date: Thu, 13 Mar 2014 18:49:53 +0100 Subject: [PATCH] change a function call to avoid useless None --- modules/cmb/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cmb/backend.py b/modules/cmb/backend.py index b8998a02..448fdc69 100644 --- a/modules/cmb/backend.py +++ b/modules/cmb/backend.py @@ -114,7 +114,7 @@ class CmbBackend(BaseBackend, ICapBank): 'motDePasse': self.config['password'].get() } - response = self.browser.open("https://www.cmb.fr/domiweb/servlet/Identification", None, False, data=data) + response = self.browser.open("https://www.cmb.fr/domiweb/servlet/Identification", allow_redirects=False, data=data) if response.status_code == 302: self.islogged=True