]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/socks.py
[core/windows] Improve shell quoting and tests (#9802)
[yt-dlp.git] / yt_dlp / socks.py
index e7f41d7e2a45ff9b3fb145553d69b5e14c25fee2..b4957ac2ed281dedc1bbc725cd7aa72765c44925 100644 (file)
@@ -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):