Browse Source

[downloader/http] Return actual download result (closes #14971)

master-ytdl-org
Sergey M․ 7 years ago
parent
commit
bec49996c6
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      youtube_dl/downloader/http.py

+ 1
- 2
youtube_dl/downloader/http.py View File

@ -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:


Loading…
Cancel
Save