5023: Textual reports are crashing with HTML format without stylesheet set
svn: r17837
This commit is contained in:
parent
dfd17224ad
commit
5341b4d132
@ -104,7 +104,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