From e308d438dbe74db0d432abb82cf92b8717a21602 Mon Sep 17 00:00:00 2001 From: Gianluca Montecchi Date: Tue, 20 Oct 2009 23:15:27 +0200 Subject: [PATCH] Fixed the wrong index_header values --- becommands/html.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/becommands/html.py b/becommands/html.py index 21e80c3..f36ba8d 100644 --- a/becommands/html.py +++ b/becommands/html.py @@ -55,7 +55,7 @@ def execute(args, manipulate_encodings=True): bd.load_all_bugs() html_gen = HTMLGen(bd, template=options.template, verbose=options.verbose, - title=options.title, ) + title=options.title, index_header=options.index_header ) html_gen.run(options.out_dir) def get_parser(): @@ -96,7 +96,7 @@ class HTMLGen (object): self.verbose = verbose self.title = title self.index_header = index_header - + if encoding != None: self.encoding = encoding else: @@ -246,6 +246,7 @@ class HTMLGen (object): filename = "index_inactive.html" else: raise Exception, "Unrecognized bug_type: '%s'" % bug_type + template_info = {'title':title, 'index_header':index_header, 'charset':self.encoding, -- 2.26.2