mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[http] PEP8 (#4831)
This commit is contained in:
		| @@ -102,11 +102,11 @@ class HttpFD(FileDownloader): | |||||||
|                             resume_len = 0 |                             resume_len = 0 | ||||||
|                             open_mode = 'wb' |                             open_mode = 'wb' | ||||||
|                             break |                             break | ||||||
|  |  | ||||||
|             except SocketError as e: |             except SocketError as e: | ||||||
|                 if e.errno != errno.ECONNRESET: |                 if e.errno != errno.ECONNRESET: | ||||||
|                     raise # Not error we are looking for |                     # Connection reset is no problem, just retry | ||||||
|                 pass |                     raise | ||||||
|  |  | ||||||
|             # Retry |             # Retry | ||||||
|             count += 1 |             count += 1 | ||||||
|             if count <= retries: |             if count <= retries: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister