[modify] will clear values before operation

This commit is contained in:
gitea 2024-06-01 13:40:44 +08:00
parent a560e11bfb
commit 1f00d22bce

View File

@ -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)