zwxi il y a 11 mois
Parent
commit
f60e584978
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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()