Explorar o código

iiii

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag %!s(int64=4) %!d(string=hai) anos
pai
achega
1cf8bf1813
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      report_file_utils.py

+ 1 - 1
report_file_utils.py

@@ -98,7 +98,7 @@ class ReportFileUtils:
                     value = 0
                 ws.col(col).width = 150 * 30  # 定义列宽
                 style = self.simple_style if y >= 2 else self.default_style
-                ws.write(start_row, col, str(value),
+                ws.write(start_row, col, value,
                          style=style)
                 y += 1
             start_row += 1