fix: Making pep8 happy

pull/429/head
chrisr3d 2020-08-28 17:30:23 +02:00
parent 1349ef61a5
commit ae1016946b
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
2 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class RequestHandler:
response.raise_for_status()
return response
except (ConnectTimeout, ProxyError, InvalidURL) as error:
msg = f'Error connecting with proxy, please check the Recorded Future app proxy settings.'
msg = 'Error connecting with proxy, please check the Recorded Future app proxy settings.'
LOGGER.error(f'{msg} Error: {error}')
misperrors['error'] = msg
raise

View File

@ -209,6 +209,7 @@ class ShodanParser():
x509_object.add_reference(self.attribute.uuid, 'identifies')
self.misp_event.add_object(x509_object)
def handler(q=False):
if q is False:
return False