Skip to content

Commit 62eb1a0

Browse files
committed
Import tweak
1 parent 726e023 commit 62eb1a0

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
@@ -426,7 +426,7 @@ def import_scan_results(request, eid):
426426

427427
item.severity = sev
428428

429-
if Finding.SEVERITIES[sev] > Finding.SEVERITIES[min_sev]:
429+
if Finding.SEVERITIES[sev] >= Finding.SEVERITIES[min_sev]:
430430
continue
431431

432432
item.test = t

dojo/test/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def re_import_scan_results(request, tid):
473473
if sev == 'Information' or sev == 'Informational':
474474
sev = 'Info'
475475

476-
if Finding.SEVERITIES[sev] > Finding.SEVERITIES[min_sev]:
476+
if Finding.SEVERITIES[sev] >= Finding.SEVERITIES[min_sev]:
477477
continue
478478

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

0 commit comments

Comments
 (0)