mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-18 23:25:42 +07:00
[http] PEP8 (#4831)
This commit is contained in:
@@ -102,11 +102,11 @@ def real_download(self, filename, info_dict):
|
||||
resume_len = 0
|
||||
open_mode = 'wb'
|
||||
break
|
||||
|
||||
except SocketError as e:
|
||||
if e.errno != errno.ECONNRESET:
|
||||
raise # Not error we are looking for
|
||||
pass
|
||||
# Connection reset is no problem, just retry
|
||||
raise
|
||||
|
||||
# Retry
|
||||
count += 1
|
||||
if count <= retries:
|
||||
|
||||
Reference in New Issue
Block a user