fix: Making pep8 happy

pull/318/head
chrisr3d 2019-08-01 17:17:16 +02:00
parent 76533f6fdb
commit 7eb4f034c0
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class VulnerabilityParser():
def __parse_weakness(self, vulnerability_uuid):
attribute_type = 'text'
cwe_string, cwe_id = self.vulnerability['cwe'].split('-')
cwe_string, cwe_id = self.vulnerability['cwe'].split('-')
cwes = requests.get(cveapi_url.replace('/cve/', '/cwe'))
if cwes.status_code == 200:
for cwe in cwes.json():