mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-28 22:02:58 +00:00
[http] PEP8 (#4831)
This commit is contained in:
parent
6789defea9
commit
1283204917
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue