(self, filepath: str)
| 540 | return pystache.render(file.read(), self.results) |
| 541 | |
| 542 | def to_file(self, filepath: str) -> None: |
| 543 | import pystache |
| 544 | |
| 545 | with open(os.path.join(cwd, "templates", "report.html"), "r") as file: |
| 546 | with open(filepath, "w", encoding="utf-8") as outfile: |
| 547 | return outfile.write(pystache.render(file.read(), self.results)) |
| 548 | |
| 549 | |
| 550 | class Ods(Json): |