mirror of https://github.com/MISP/misp-modules
fix: Making pep8 happy
parent
1349ef61a5
commit
ae1016946b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue