fix: Making pep8 happy

pull/318/head
chrisr3d 3 years ago
parent 76533f6fdb
commit 7eb4f034c0
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
  1. 2
      misp_modules/modules/expansion/cve_advanced.py

@ -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():

Loading…
Cancel
Save