aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-03 02:25:40 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-03 02:25:40 +0600
commit10eaa8ef1d2a9699052af9262aa472456548e99b (patch)
treefbae2214d3df86e872536546f97a6709731cb2ea /youtube_dl/downloader
parentc3124c3085e6a9a83ee31ace3a7d528a324c42da (diff)
[downloader/http] Report unable to resume
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/http.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py
index 0862e90bb..2f8490f02 100644
--- a/youtube_dl/downloader/http.py
+++ b/youtube_dl/downloader/http.py
@@ -66,6 +66,7 @@ class HttpFD(FileDownloader):
if content_range_m and resume_len == int(content_range_m.group(1)):
break
# Content-Range is invalid - wipe the file and do entire redownload
+ self.report_unable_to_resume()
resume_len = 0
open_mode = 'wb'
break