logger can be unset at this step
This commit is contained in:
parent
e8bf117728
commit
273f0e683e
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ class StandardBrowser(mechanize.Browser):
|
|||
return
|
||||
|
||||
def lowsslcheck(self, domain, hsh):
|
||||
if self.INSECURE or self.logger.settings['ssl_insecure']:
|
||||
if self.INSECURE or (self.logger is not None and self.logger.settings['ssl_insecure']):
|
||||
return
|
||||
certhash = self._certhash(domain)
|
||||
if self.logger:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue