[weboob] [PATCH 1/1] LCL: fix login again

Pierre Mazière pierre.maziere at gmail.com
Mon Mar 7 16:13:45 CET 2011


Signed-off-by: Pierre Mazière <pierre.maziere at gmail.com>
---
 weboob/backends/lcl/browser.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/weboob/backends/lcl/browser.py b/weboob/backends/lcl/browser.py
index b23ad57..5932f10 100644
--- a/weboob/backends/lcl/browser.py
+++ b/weboob/backends/lcl/browser.py
@@ -54,7 +54,7 @@ class LCLBrowser(BaseBrowser):
 
         self.page.login(self.agency, self.username, self.password)
 
-        if not self.is_logged() or self.is_on_page(LoginErrorPage):
+        if not self.is_logged():
             raise BrowserIncorrectPassword()
 
         self.location('%s://%s/outil/UWSP/Synthese/accesSynthese' % (self.PROTOCOL, self.DOMAIN))
-- 
1.7.2.3




More information about the weboob mailing list