fix: button state in during closing

This commit is contained in:
2026-07-09 15:15:15 +08:00
parent 64b790e49f
commit 3d7bd6362f
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ def main(driver: Chrome, logger = logging.getLogger('main')):
result = dict()
col = headers.index(header) + 1
for row in range(options.get('start', 2), limit + 1):
for row in range(options.get('start'), limit + 1):
key = str(wb.active.cell(row, col).value)
result[key] = result.get(key, 0) + 1
@@ -318,7 +318,7 @@ def main(driver: Chrome, logger = logging.getLogger('main')):
buffer = BytesIO(data)
target = load_workbook(buffer)
for row in range(options.get('start', 2), limit + 1):
for row in range(options.get('start'), limit + 1):
c1 = wb.active.cell(row, index + 1)
c2 = target.active.cell(row, index + 1)
if not (c1.value and str(c1.value).strip()):