mirror of https://github.com/MISP/misp-modules
fix: Making pep8 happy
parent
205342996a
commit
09590ca451
|
@ -7,9 +7,11 @@ moduleinfo = {'version': '0.3', 'author': 'Alexandre Dulaunoy', 'description': '
|
|||
moduleconfig = ["custom_API"]
|
||||
cveapi_url = 'https://cve.circl.lu/api/cve/'
|
||||
|
||||
|
||||
def check_url(url):
|
||||
return "{}/".format(url) if not url.endswith('/') else url
|
||||
|
||||
|
||||
def handler(q=False):
|
||||
if q is False:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue