zwxi 11 tháng trước cách đây
mục cha
commit
f60e584978
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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()