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()
|
response.raise_for_status()
|
||||||
return response
|
return response
|
||||||
except (ConnectTimeout, ProxyError, InvalidURL) as error:
|
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}')
|
LOGGER.error(f'{msg} Error: {error}')
|
||||||
misperrors['error'] = msg
|
misperrors['error'] = msg
|
||||||
raise
|
raise
|
||||||
|
|
|
@ -209,6 +209,7 @@ class ShodanParser():
|
||||||
x509_object.add_reference(self.attribute.uuid, 'identifies')
|
x509_object.add_reference(self.attribute.uuid, 'identifies')
|
||||||
self.misp_event.add_object(x509_object)
|
self.misp_event.add_object(x509_object)
|
||||||
|
|
||||||
|
|
||||||
def handler(q=False):
|
def handler(q=False):
|
||||||
if q is False:
|
if q is False:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue