Add missing html.footer to htmlembedded output (Fixes issue 48).

Signed-off-by: Adam Waldenberg <adam.waldenberg@ejwa.se>
This commit is contained in:
Christian Kastner 2014-11-22 20:38:40 +01:00 committed by Adam Waldenberg
parent dd50994f2c
commit 3010359eb2
1 changed files with 3 additions and 2 deletions

View File

@ -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("</gitinspector>")