fixing bad login when session expire
This commit is contained in:
parent
cc6454387e
commit
acbbb862ab
1 changed files with 3 additions and 1 deletions
|
|
@ -70,7 +70,9 @@ class LCLBrowser(LoginBrowser):
|
|||
assert isinstance(self.password, basestring)
|
||||
assert self.password.isdigit()
|
||||
|
||||
self.login.stay_or_go()
|
||||
# we force the browser to go to login page so it's work even
|
||||
# if the session expire
|
||||
self.login.go()
|
||||
|
||||
if not self.page.login(self.username, self.password) or \
|
||||
(self.login.is_here() and self.page.is_error()) :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue