From 30f268e1b4b04f325a77fd19296875892b064855 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Wed, 2 Oct 2019 13:24:16 +0900 Subject: html.py: use existing relpath_y2h() at bsp() Signed-off-by: Kuninori Morimoto --- scripts/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/html.py b/scripts/html.py index 537ee52..388d194 100755 --- a/scripts/html.py +++ b/scripts/html.py @@ -583,7 +583,7 @@ class periject_html(base.base): cnt_all += 1 with html("tr"): a.option({"href": - os.path.relpath(file.replace("yaml", "html").replace("projects", "html"), "{}/html".format(self.top()))}) + self.relpath_y2h(file, "{}/html".format(self.top()))}) html("td").print(a.text(os.path.basename(file).replace(".yaml", ""))) with html("td"): -- cgit v1.2.3