logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 38e87f6c2ae2cdc04dd6f526213c83a0259db335
parent ec240a43696478e43abb15e7c91f067b2bd5fe08
Author: Huyuumi <zx.you.funy@gmail.com>
Date:   Sun, 29 Jul 2018 07:52:42 +0900

[utils] Remove return from __init__


Diffstat:

Myoutube_dl/utils.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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')