Commit f24cdb68 authored by Alexandre Dulaunoy's avatar Alexandre Dulaunoy
Browse files

No more default CVSS value when no CVSS are set for a CVE.

This should fix #93.

As the default CVSS feature seems not to be used, it will be removed
too.
parent f440bb03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ if __name__ == '__main__':
                if args.v:
                    print("item found : " + item['id'])
                if 'cvss' not in item:
                    item['cvss'] = defaultvalue['cvss']
                    item['cvss'] = None
                else:
                    item['cvss'] = float(item['cvss'])
                if 'cwe' not in item: