[downloader/http] Return actual download result (closes #14971)
This commit is contained in:
		
							parent
							
								
									c8be7d5f74
								
							
						
					
					
						commit
						bec49996c6
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue