Skip to content

Commit

Permalink
self review
Browse files Browse the repository at this point in the history
  • Loading branch information
rjra2611 committed Feb 13, 2023
1 parent a4b53c5 commit b2537af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lean/commands/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def report(backtest_results: Optional[Path],
}
}

if pdf:
run_options["commands"].append(f'cp /tmp/report.pdf "/Output/{report_destination.name.replace(".html", ".pdf")}"')
if live_results is not None:
run_options["mounts"].append(Mount(target="/Lean/Report/bin/Debug/live-data-source-file.json",
source=str(live_results),
Expand Down

0 comments on commit b2537af

Please sign in to comment.