Browse Source

[socks] Remove a superfluous clause

master
Yen Chi Hsuan 8 years ago
parent
commit
fa5cb8d021
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
1 changed files with 0 additions and 2 deletions
  1. 2
      youtube_dl/socks.py

2
youtube_dl/socks.py

@ -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

Loading…
Cancel
Save