[utils] PEP 8

This commit is contained in:
Sergey M․ 2021-04-17 03:32:04 +07:00
parent 30a3a4c70f
commit cfee2dfe83
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -2931,9 +2931,8 @@ class YoutubeDLRedirectHandler(compat_urllib_request.HTTPRedirectHandler):
# NB: don't use dict comprehension for python 2.6 compatibility
newheaders = dict((k, v) for k, v in req.headers.items()
if k.lower() not in CONTENT_HEADERS)
return compat_urllib_request.Request(newurl,
headers=newheaders,
origin_req_host=req.origin_req_host,
return compat_urllib_request.Request(
newurl, headers=newheaders, origin_req_host=req.origin_req_host,
unverifiable=True)