소스 검색

iiii

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 4 년 전
부모
커밋
1cf8bf1813
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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