disallow empty passwords
This commit is contained in:
parent
4ef9fd43d3
commit
b15bd31557
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ class Browser(mechanize.Browser):
|
|||
self.page = pageCls(self, document, result.geturl())
|
||||
self.page.loaded()
|
||||
|
||||
if self.password and not self.is_logged():
|
||||
if self.password is not None and not self.is_logged():
|
||||
debug('!! Relogin !!')
|
||||
self.login()
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue