Skip to content

Commit

Permalink
fix: no more Unhandled exception happened: scan/index.html when out…
Browse files Browse the repository at this point in the history
…putting HTML

This fixes pyupio#512
  • Loading branch information
jeff-at-tamer-dot-codes committed Apr 29, 2024
1 parent b56a4dc commit 52a2d0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safety/scan/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def render_scan_html(report: ReportModel, obj) -> str:
"vulns_per_file": vulns_per_file,
"remed_per_file": remed_per_file}

return parse_html(kwargs=template_context, template="scan/index.html")
return parse_html(kwargs=template_context, template="scan.html")


def generate_spdx_creation_info(*, spdx_version: str, project_identifier: str) -> Any:
Expand Down
File renamed without changes.

0 comments on commit 52a2d0a

Please sign in to comment.