Merge pull request #334 from FafnerKeyZee/patch-1

Cleaning the error message
pull/338/head
Alexandre Dulaunoy 2019-09-17 13:08:34 +02:00 committed by GitHub
commit 8a0e658cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def handler(q=False):
misperrors['error'] = 'Non existing CVE'
return misperrors['error']
else:
misperrors['error'] = 'cve.circl.lu API not accessible'
misperrors['error'] = 'API not accessible'
return misperrors['error']
parser = VulnerabilityParser(attribute, vulnerability, api_url)
parser.parse_vulnerability_information()