mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-10-31 22:55:26 +00:00
[socks] Remove a superfluous clause
This commit is contained in:
parent
e21f17fc86
commit
fa5cb8d021
1 changed files with 0 additions and 2 deletions
|
@ -210,8 +210,6 @@ class sockssocket(socket.socket):
|
||||||
if status != SOCKS5_USER_AUTH_SUCCESS:
|
if status != SOCKS5_USER_AUTH_SUCCESS:
|
||||||
self.close()
|
self.close()
|
||||||
raise Socks5Error(Socks5Error.ERR_GENERAL_FAILURE)
|
raise Socks5Error(Socks5Error.ERR_GENERAL_FAILURE)
|
||||||
elif method == Socks5Auth.AUTH_NONE:
|
|
||||||
pass
|
|
||||||
|
|
||||||
def _setup_socks5(self, address):
|
def _setup_socks5(self, address):
|
||||||
destaddr, port = address
|
destaddr, port = address
|
||||||
|
|
Loading…
Reference in a new issue