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

pull/8/head
Sergey M․ 7 years ago
parent c8be7d5f74
commit bec49996c6
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -284,8 +284,7 @@ class HttpFD(FileDownloader):
while count <= retries: while count <= retries:
try: try:
establish_connection() establish_connection()
download() return download()
return True
except RetryDownload as e: except RetryDownload as e:
count += 1 count += 1
if count <= retries: if count <= retries:

Loading…
Cancel
Save