From 3010359eb2fd78c597744b5c8424a1b827504318 Mon Sep 17 00:00:00 2001 From: Christian Kastner Date: Sat, 22 Nov 2014 20:38:40 +0100 Subject: [PATCH] Add missing html.footer to htmlembedded output (Fixes issue 48). Signed-off-by: Adam Waldenberg --- gitinspector/format.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gitinspector/format.py b/gitinspector/format.py index 613045e..7af3c7a 100644 --- a/gitinspector/format.py +++ b/gitinspector/format.py @@ -109,8 +109,9 @@ def output_header(): os.path.basename(basedir.get_basedir_git()), localization.get_date()), width=terminal.get_size()[0])) def output_footer(): - if __selected_format__ == "html": - html_footer = __output_html_template__("html/html.footer") + if __selected_format__ == "html" or __selected_format__ == "htmlembedded": + base = basedir.get_basedir() + html_footer = __output_html_template__(base + "/html/html.footer") print(html_footer) elif __selected_format__ == "xml": print("")