fix: html template path

This commit is contained in:
debugtalk
2019-12-19 13:32:56 +08:00
parent 7999c537b2
commit 2d1cd6a86b
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Release History # Release History
## 2.4.5 (2019-12-18) ## 2.4.5 (2019-12-19)
**Fixed** **Fixed**
-2
View File
@@ -20,8 +20,6 @@ def gen_html_report(summary, report_template=None, report_dir=None, report_file=
if not report_template: if not report_template:
report_template = os.path.join( report_template = os.path.join(
os.path.abspath(os.path.dirname(__file__)), os.path.abspath(os.path.dirname(__file__)),
"report",
"html",
"template.html" "template.html"
) )
logger.log_debug("No html report template specified, use default.") logger.log_debug("No html report template specified, use default.")