lf_report.py : added build_link to html

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-08-09 09:49:26 -06:00
parent ed396c1807
commit 11fb7a5b93

View File

@@ -295,6 +295,13 @@ class lf_report():
""".format(pdf_link_path=pdf_link_path)
self.html += self.pdf_link_html
def build_link(self,_link,_link_name):
self.link = """
<!-- link -->
<a href={link}>{link_name}<a>
""".format(link=_link,link_name=_link_name)
self.html += self.link
def generate_report(self):
self.write_html()