فهرست منبع

Merge branch 'ETA_1.8.1' into debug

zwxi 11 ماه پیش
والد
کامیت
896e56581d
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()