From 5a650f575856507521dcf01fe5f231fc3e709f33 Mon Sep 17 00:00:00 2001 From: Stephen Sadowski Date: Wed, 2 Feb 2022 11:32:31 -0600 Subject: [PATCH] fix: unused f-string --- sanic/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/request.py b/sanic/request.py index d4bd6c3e..4d8e840b 100644 --- a/sanic/request.py +++ b/sanic/request.py @@ -135,7 +135,7 @@ class Request: self._parsed_url = parse_url(url_bytes) except HttpParserInvalidURLError as InvalidURLError: raise InvalidUsage( - f"URL is invalid or malformed" + "URL is invalid or malformed" ) from InvalidURLError self._id: Optional[Union[uuid.UUID, str, int]] = None self._name: Optional[str] = None