mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[utils] Remove return from __init__
This commit is contained in:
		| @@ -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') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user