提交 b745ade5 编写于 作者: P Plamen Dimitrov

Use proper default option if no html_output option was provided

Current 'None' evaluates as string where 'None' is not None.
Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
上级 406f29bb
......@@ -227,7 +227,7 @@ class HTMLResult(Result):
self._open_browser(html_path)
open_browser = False
html_path = getattr(job.args, 'html_output', 'None')
html_path = getattr(job.args, 'html_output', None)
if html_path is not None:
self._render(result, html_path)
if open_browser:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册