diff --git a/dojo/tools/bundler_audit/parser.py b/dojo/tools/bundler_audit/parser.py index 0ab00ac583..d5fa8af30a 100644 --- a/dojo/tools/bundler_audit/parser.py +++ b/dojo/tools/bundler_audit/parser.py @@ -18,6 +18,8 @@ def get_description_for_scan_types(self, scan_type): def get_findings(self, filename, test): lines = filename.read() + if isinstance(lines, bytes): + lines = lines.decode("utf-8") dupes = dict() find_date = datetime.now() warnings = lines.split("\n\n")