zwxi 11 月之前
父节点
当前提交
f60e584978
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      services/smart_report.go

+ 2 - 2
services/smart_report.go

@@ -179,7 +179,7 @@ finally:
 `
 
 	pyCode = fmt.Sprintf(pyCode, utils.ChromeDrivePath, reportUrl, filePath)
-
+	utils.FileLog.Info("pdf pyCode: \n" + pyCode)
 	cmd := exec.Command("python3", "-c", pyCode)
 	_, err = cmd.CombinedOutput()
 	defer func() {
@@ -229,7 +229,7 @@ finally:
 `
 
 	pyCode = fmt.Sprintf(pyCode, utils.ChromeDrivePath, reportUrl, filePath)
-
+	utils.FileLog.Info("jpeg pyCode: \n" + pyCode)
 	cmd := exec.Command("python3", "-c", pyCode)
 
 	_, err = cmd.CombinedOutput()