Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ww_manager/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def _download_file(
for attempt in range(retries):
try:
resume_byte = 0
if temp_file.exists():
if temp_file.exists() and temp_file.stat().st_size <= expected_size:
resume_byte = temp_file.stat().st_size

# 如果已完成,更新进度条并跳过
Expand Down
Loading