5023: Textual reports are crashing with HTML format without stylesheet set
svn: r17836
This commit is contained in:
parent
49a448dcd9
commit
2b25ffec5b
@ -103,7 +103,7 @@ class HtmlDoc(BaseDoc, TextDoc):
|
||||
Set the css file to use. The path must be included.
|
||||
Note: DocReportDialog sets this for html doc
|
||||
"""
|
||||
if os.path.basename(css_filename):
|
||||
if css_filename and os.path.basename(css_filename):
|
||||
self.css_filename = css_filename
|
||||
else:
|
||||
self.css_filename = ''
|
||||
|
Loading…
Reference in New Issue
Block a user