diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2024-03-10 19:52:49 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2024-03-11 00:51:26 +0530 |
commit | 93240fc1848de4a94f25844c96e0dcd282ef1d3b (patch) | |
tree | 0008ef502170dfeec7a81181345c8b0942d1efa1 /yt_dlp/networking/_requests.py | |
parent | 47ab66db0f083a76c7fba0f6e136b21dd5a93e3b (diff) |
[cleanup] Fix misc bugs (#8968)
Closes #8816
Authored by: bashonly, seproDev, pukkandan, Grub4k
Diffstat (limited to 'yt_dlp/networking/_requests.py')
-rw-r--r-- | yt_dlp/networking/_requests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/networking/_requests.py b/yt_dlp/networking/_requests.py index 7b19029bf..6545028c8 100644 --- a/yt_dlp/networking/_requests.py +++ b/yt_dlp/networking/_requests.py @@ -116,7 +116,7 @@ See: https://github.com/urllib3/urllib3/issues/517 """ if urllib3_version < (2, 0, 0): - with contextlib.suppress(): + with contextlib.suppress(Exception): urllib3.util.IS_SECURETRANSPORT = urllib3.util.ssl_.IS_SECURETRANSPORT = True |