diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-12-13 23:49:05 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-12-13 23:49:05 +0700 |
commit | bec49996c68fe73b4e17e7418290072a4c4b7cdb (patch) | |
tree | 317b52c655c8ecfdf1ca4f56bf900ca1e14a7dbf /youtube_dl | |
parent | c8be7d5f7417f5779cda2c02653f38401dd7a6b7 (diff) |
[downloader/http] Return actual download result (closes #14971)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/downloader/http.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py index 8a6638cc2..3ff26ff70 100644 --- a/youtube_dl/downloader/http.py +++ b/youtube_dl/downloader/http.py @@ -284,8 +284,7 @@ class HttpFD(FileDownloader): while count <= retries: try: establish_connection() - download() - return True + return download() except RetryDownload as e: count += 1 if count <= retries: |