Skip to content

Commit 86a7d9a

Browse files
authored
Merge pull request #488 from aaronweaver/master
Import tweak
2 parents de15cc2 + 62eb1a0 commit 86a7d9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dojo/engagement/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def import_scan_results(request, eid):
420420

421421
item.severity = sev
422422

423-
if Finding.SEVERITIES[sev] > Finding.SEVERITIES[min_sev]:
423+
if Finding.SEVERITIES[sev] >= Finding.SEVERITIES[min_sev]:
424424
continue
425425

426426
item.test = t

dojo/test/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def re_import_scan_results(request, tid):
467467
if sev == 'Information' or sev == 'Informational':
468468
sev = 'Info'
469469

470-
if Finding.SEVERITIES[sev] > Finding.SEVERITIES[min_sev]:
470+
if Finding.SEVERITIES[sev] >= Finding.SEVERITIES[min_sev]:
471471
continue
472472

473473
if scan_type == 'Veracode Scan' or scan_type == 'Arachni Scan':

0 commit comments

Comments
 (0)