]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/downloader/http.py
Start new release.
[youtubedl] / youtube_dl / downloader / http.py
index 8a6638cc2d47c4afa08104d77e0877f92749ac8a..3ff26ff7086afbf9d1245a144406f891e9ff393c 100644 (file)
@@ -284,8 +284,7 @@ class HttpFD(FileDownloader):
         while count <= retries:
             try:
                 establish_connection()
         while count <= retries:
             try:
                 establish_connection()
-                download()
-                return True
+                return download()
             except RetryDownload as e:
                 count += 1
                 if count <= retries:
             except RetryDownload as e:
                 count += 1
                 if count <= retries: