HotFix: Vulners AI score

pull/230/head
Igor Ivanov 2018-09-18 15:56:15 +02:00
parent 3e9589d0f4
commit 007723109d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def handler(q=False):
vulnerability = request.get('vulnerability')
vulners_document = vulners_api.document(vulnerability)
vulners_exploits = vulners_api.searchExploit(vulnerability)
vulners_ai_score = vulners_api.aiScore(vulnerability)
vulners_ai_score = vulners_api.aiScore(vulners_document.get('description'))
if vulners_document:
vuln_summary += vulners_document.get('description')