mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 17:18:01 +01:00
Merge pull request #2463 from rzhxeo/resume
Set resume_len to 0 if download is restarted
This commit is contained in:
commit
fbcf3e416d
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ def real_download(self, filename, info_dict):
|
|||
else:
|
||||
# The length does not match, we start the download over
|
||||
self.report_unable_to_resume()
|
||||
resume_len = 0
|
||||
open_mode = 'wb'
|
||||
break
|
||||
# Retry
|
||||
|
|
Loading…
Reference in a new issue