From 5930b839b0782405aac8396d622dc3a2882ad47c Mon Sep 17 00:00:00 2001 From: "soim.kim" Date: Mon, 27 Mar 2023 13:41:41 +0900 Subject: [PATCH] Fix the bug that can't print excel --- src/fosslight_util/write_excel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fosslight_util/write_excel.py b/src/fosslight_util/write_excel.py index 1cc4e76..6aacfb9 100755 --- a/src/fosslight_util/write_excel.py +++ b/src/fosslight_util/write_excel.py @@ -180,7 +180,7 @@ def write_result_to_sheet(worksheet, sheet_contents): for row_item in sheet_contents: worksheet.write(row, 0, row) for col_num, value in enumerate(row_item): - worksheet.write(row, col_num + 1, value) + worksheet.write(row, col_num + 1, str(value)) row += 1