Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dojo/importers/default_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def process_scan(
parser = self.get_parser()
# Get the findings from the parser based on what methods the parser supplies
# This could either mean traditional file parsing, or API pull parsing
parsed_findings = self.parse_findings(scan, parser)
parsed_findings = self.parse_findings(scan, parser) or []
# process the findings in the foreground or background
new_findings = self.determine_process_method(parsed_findings, **kwargs)
# Close any old findings in the processed list if the the user specified for that
Expand Down
2 changes: 1 addition & 1 deletion dojo/importers/default_reimporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def process_scan(
parser = self.get_parser()
# Get the findings from the parser based on what methods the parser supplies
# This could either mean traditional file parsing, or API pull parsing
parsed_findings = self.parse_findings(scan, parser)
parsed_findings = self.parse_findings(scan, parser) or []
# process the findings in the foreground or background
(
new_findings,
Expand Down