fix: Making pep8 happy

pull/360/head
chrisr3d 2019-12-17 14:29:29 +01:00
parent ae9e6d0a25
commit 5f90ae776f
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
2 changed files with 2 additions and 4 deletions

View File

@ -37,8 +37,6 @@ class PassiveSSLParser():
except Exception: except Exception:
self.result = {'error': 'There is an authentication error, please make sure you supply correct credentials.'} self.result = {'error': 'There is an authentication error, please make sure you supply correct credentials.'}
return return
cert_hash = 'x509-fingerprint-sha1'
cert_type = 'pem'
for ip_address, certificates in results.items(): for ip_address, certificates in results.items():
ip_uuid = self._handle_ip_attribute(ip_address) ip_uuid = self._handle_ip_attribute(ip_address)
for certificate in certificates['certificates']: for certificate in certificates['certificates']: