fix(AutoLib): fix the missed user counter while running the task

This commit is contained in:
KenanZhu committed 2025-11-06 20:07:43 +08:00
1 parent c67a7e3773
commit bf106ea234
1 file changed
+1
+1
View File
@@ -203,6 +203,7 @@ class AutoLib(MsgBase):
f"用户配置文件路径: {self.__users_config_reader.configPath()}") f"用户配置文件路径: {self.__users_config_reader.configPath()}")
for user in users: for user in users:
user_counter["current"] += 1
self._showTrace(f"正在处理第 {user_counter["current"]}/{len(users)} 个用户: {user['username']}......") self._showTrace(f"正在处理第 {user_counter["current"]}/{len(users)} 个用户: {user['username']}......")
if self.__run( if self.__run(
username=user["username"], username=user["username"],