change a function call to avoid useless None

This commit is contained in:
Johann Broudin 2014-03-13 18:49:53 +01:00 committed by Romain Bignon
commit a56767fbf5

View file

@ -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