diff options
-rw-r--r-- | pym/kernelcheck/lib/kernellib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/kernelcheck/lib/kernellib.py b/pym/kernelcheck/lib/kernellib.py index eb71b2b..972b2d0 100644 --- a/pym/kernelcheck/lib/kernellib.py +++ b/pym/kernelcheck/lib/kernellib.py @@ -468,7 +468,7 @@ def eval_cve_files(directory, kernel, arch, spin=None): cvss_score += float(cve.score) else: evaluation.unaffected.append(item) - + if cve_amount is 0: evaluation.avg_cvss = 0 else: |