Skip to content

Commit

Permalink
preen
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Nov 15, 2024
1 parent fd6789e commit 4d2ce88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiohttp/web_urldispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ def add_route(
if route := self._routes.get(method) or self._any_route:
raise RuntimeError(
"Added route will never be executed, "
"method {route.method} is already "
"registered".format(route=route)
f"method {route.method} is already "
"registered"
)

route_obj = ResourceRoute(method, handler, self, expect_handler=expect_handler)
Expand Down

0 comments on commit 4d2ce88

Please sign in to comment.