missed a type ignore, for mypy compliance
This commit is contained in:
parent
4383122b7b
commit
6da1db750c
|
@ -14,7 +14,7 @@ import pyperclip
|
||||||
def cleanup_request(f: flow.Flow):
|
def cleanup_request(f: flow.Flow):
|
||||||
if not hasattr(f, "request"):
|
if not hasattr(f, "request"):
|
||||||
raise exceptions.CommandError("Can't export flow with no request.")
|
raise exceptions.CommandError("Can't export flow with no request.")
|
||||||
request = f.request.copy()
|
request = f.request.copy() # type: ignore
|
||||||
request.decode(strict=False)
|
request.decode(strict=False)
|
||||||
# a bit of clean-up
|
# a bit of clean-up
|
||||||
if ('content-length' in request.headers.keys() and
|
if ('content-length' in request.headers.keys() and
|
||||||
|
|
Loading…
Reference in New Issue