mini chunk size

This commit is contained in:
jxxghp
2025-09-12 21:45:26 +08:00
parent 3d43750e9b
commit 188de34306
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ def transfer_process(path: str) -> Callable[[int | float], None]:
"""
更新进度百分比
"""
percent_value = int(percent)
percent_value = round(percent, 2) if isinstance(percent, float) else percent
pbar.n = percent_value
# 更新进度
pbar.refresh()