X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fdownloader%2Fhttp.py;h=240ecb606e5ee4b76599f2e380b6ea30d767c5da;hb=e1a52d9e108429daa7578f86c98d99a76dfe30fa;hp=748f9f3adfe0555024cce272b8eb872c55558d6c;hpb=0f2999fe2b352795d54e6fcc4027e6a64ce5bc1d;p=youtube-dl diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py index 748f9f3ad..240ecb606 100644 --- a/youtube_dl/downloader/http.py +++ b/youtube_dl/downloader/http.py @@ -85,6 +85,7 @@ class HttpFD(FileDownloader): else: # The length does not match, we start the download over self.report_unable_to_resume() + resume_len = 0 open_mode = 'wb' break # Retry