Skip to content

Commit 690319c

Browse files
nuclearcatCopilot
andcommitted
Update kernelci/cli/config.py
Co-authored-by: Copilot <[email protected]> Signed-off-by: Denys Fedoryshchenko <[email protected]>
1 parent 919b0bb commit 690319c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernelci/cli/config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,7 @@ def generate_html_report(checkouts, output_dir):
263263
jinja2_env = Environment(loader=FileSystemLoader(REPORT_TEMPLATE_PATHS))
264264
template = jinja2_env.get_template("forecast.jinja2")
265265

266-
json_data = json.dumps(checkouts)
267-
final_html = template.render(checkouts_json=json_data)
266+
final_html = template.render(checkouts=checkouts)
268267

269268
with open(os.path.join(output_dir, "index.html"), "w", encoding="utf-8") as outfile:
270269
outfile.write(final_html)

0 commit comments

Comments
 (0)