From f40669b63f52a5a3ca87725e97775c01f66651a1 Mon Sep 17 00:00:00 2001 From: break27 Date: Thu, 25 Sep 2025 16:20:04 +0800 Subject: [PATCH] update: properly set progress at the end --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 1186fee..aa59379 100644 --- a/main.py +++ b/main.py @@ -511,6 +511,7 @@ def main(driver: WebDriver): tell('程序中断', level=1) status = Status.TERMINATED + outbox.put(Command('setProgress', cursor, name, recipient, sent, warnings, errors)) progress = cursor / limit * 100 tell('当前进度:%.2f %%' % progress) tell(f'已发送 {sent} 封;发送失败 {errors} 封;跳过重复项 {warnings} 个')