aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/socks.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/socks.py')
-rw-r--r--yt_dlp/socks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/socks.py b/yt_dlp/socks.py
index e7f41d7e2..b4957ac2e 100644
--- a/yt_dlp/socks.py
+++ b/yt_dlp/socks.py
@@ -49,7 +49,7 @@ class Socks5AddressType:
ATYP_IPV6 = 0x04
-class ProxyError(socket.error):
+class ProxyError(OSError):
ERR_SUCCESS = 0x00
def __init__(self, code=None, msg=None):