From f1e4d6dd1e24298da3cc382dc97156e8e9baf24e Mon Sep 17 00:00:00 2001 From: Mark Nottingham Date: Mon, 11 Dec 2023 11:19:46 +1100 Subject: [PATCH] Fix typo --- redbot/resource/fetch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redbot/resource/fetch.py b/redbot/resource/fetch.py index 8576e270..c67a12d6 100644 --- a/redbot/resource/fetch.py +++ b/redbot/resource/fetch.py @@ -187,7 +187,9 @@ def _response_nonfinal( self, status: bytes, phrase: bytes, res_headers: RawHeaderListType ) -> None: "Got a non-final response." - nfres = HttpResponseLinter(message_ref="A non-final response" start_time=time.time()) + nfres = HttpResponseLinter( + message_ref="A non-final response", start_time=time.time() + ) nfres.process_response_topline(self.exchange.res_version, status, phrase) nfres.process_headers(res_headers) nfres.finish_content(True)