From 71deca1ed2e25487805edad3c88768d7cad7c83f Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 23 Oct 2008 13:27:51 +0000 Subject: [PATCH] #2454 Johan Vromans , HtmlDoc crashes when template does not have elements svn: r11188 --- src/docgen/HtmlDoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docgen/HtmlDoc.py b/src/docgen/HtmlDoc.py index 6aa01d9c4..3c28a7aad 100644 --- a/src/docgen/HtmlDoc.py +++ b/src/docgen/HtmlDoc.py @@ -253,7 +253,7 @@ class HtmlDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc): m = match.groups() self.file_header = '%s<TITLE>%s%s\n' % (m[0],m[1],m[2]) else: - self.file_header = self.top + self.file_header = "".join(self.top) self.file_header = self.process_line(self.file_header) def build_style_declaration(self):