aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorHuyuumi <zx.you.funy@gmail.com>2018-07-29 07:52:42 +0900
committerSergey M <dstftw@gmail.com>2018-07-29 05:52:42 +0700
commit38e87f6c2ae2cdc04dd6f526213c83a0259db335 (patch)
treed69deff509c9ea017b73db6c70ef13a4d4657018 /youtube_dl/utils.py
parentec240a43696478e43abb15e7c91f067b2bd5fe08 (diff)
[utils] Remove return from __init__
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index b84436ed6..29cafd8f0 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -3569,7 +3569,7 @@ class PerRequestProxyHandler(compat_urllib_request.ProxyHandler):
setattr(self, '%s_open' % type,
lambda r, proxy='__noproxy__', type=type, meth=self.proxy_open:
meth(r, proxy, type))
- return compat_urllib_request.ProxyHandler.__init__(self, proxies)
+ compat_urllib_request.ProxyHandler.__init__(self, proxies)
def proxy_open(self, req, proxy, type):
req_proxy = req.headers.get('Ytdl-request-proxy')