Browse Source

Set resume_len to 0 if download is restarted

master
rzhxeo 10 years ago
parent
commit
60daf7f0bb
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/downloader/http.py

1
youtube_dl/downloader/http.py

@ -85,6 +85,7 @@ class HttpFD(FileDownloader):
else: else:
# The length does not match, we start the download over # The length does not match, we start the download over
self.report_unable_to_resume() self.report_unable_to_resume()
resume_len = 0
open_mode = 'wb' open_mode = 'wb'
break break
# Retry # Retry

Loading…
Cancel
Save