Skip to content

Commit 1e70e2c

Browse files
author
Michael Kizimov
committed
Remove arg name on call self.router.url_path_for()
1 parent db8a667 commit 1e70e2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

debug_toolbar/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, app: ASGIApp, **settings: t.Any) -> None:
3636
while not isinstance(self.router, APIRouter):
3737
self.router = self.router.app
3838
try:
39-
self.router.url_path_for(name="debug_toolbar.render_panel")
39+
self.router.url_path_for("debug_toolbar.render_panel")
4040
except NoMatchFound:
4141
self.init_toolbar()
4242

0 commit comments

Comments
 (0)