mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-25 16:20:11 +00:00
[socks] Remove a superfluous clause
This commit is contained in:
@@ -210,8 +210,6 @@ class sockssocket(socket.socket):
|
||||
if status != SOCKS5_USER_AUTH_SUCCESS:
|
||||
self.close()
|
||||
raise Socks5Error(Socks5Error.ERR_GENERAL_FAILURE)
|
||||
elif method == Socks5Auth.AUTH_NONE:
|
||||
pass
|
||||
|
||||
def _setup_socks5(self, address):
|
||||
destaddr, port = address
|
||||
|
Reference in New Issue
Block a user