This commit is contained in:
Maximilian Hils 2019-11-16 13:20:17 +01:00 committed by GitHub
parent bccee15dcb
commit ee92477c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def cleanup_request(f: flow.Flow) -> http.HTTPRequest:
return request
def cleanup_response(f: flow.Flow)-> http.HTTPResponse:
def cleanup_response(f: flow.Flow) -> http.HTTPResponse:
if not hasattr(f, "response") or not f.response:
raise exceptions.CommandError("Can't export flow with no response.")
assert isinstance(f, http.HTTPFlow)