mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 17:45:35 +00:00
aiohttp: Fix code linting
This commit is contained in:
committed by
Kevin McCarthy
parent
5362db2ebb
commit
77d838e0fc
@@ -238,9 +238,7 @@ def vcr_request(cassette, real_request):
|
||||
request_url = URL(url).with_query(params)
|
||||
|
||||
c_header = headers.pop(hdrs.COOKIE, None)
|
||||
cookie_header = _build_cookie_header(
|
||||
self, cookies, c_header, request_url
|
||||
)
|
||||
cookie_header = _build_cookie_header(self, cookies, c_header, request_url)
|
||||
if cookie_header:
|
||||
headers[hdrs.COOKIE] = cookie_header
|
||||
|
||||
|
||||
Reference in New Issue
Block a user