From 1f00d22bce22de1fdd6aa2221dc78b971386fbf4 Mon Sep 17 00:00:00 2001 From: gitea Date: Sat, 1 Jun 2024 13:40:44 +0800 Subject: [PATCH] [modify] will clear values before operation --- aio/iso.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aio/iso.py b/aio/iso.py index 63fbf0c..7dd73fa 100644 --- a/aio/iso.py +++ b/aio/iso.py @@ -158,6 +158,8 @@ def main(path, w2t): try: wb = load_workbook(path + "/iso-results.xlsx") ws = wb.active + for i in range(3, 50): + ws.cell(row=i, column=7).value = None tmpfile = f"{path}\\data.txt" except Exception as Err: w2t(f"发生错误:{Err}", 0, 2)