aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/socks.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/youtube_dl/socks.py b/youtube_dl/socks.py
index a5b27fea7..fd49d7435 100644
--- a/youtube_dl/socks.py
+++ b/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