From aaf0ef14bf712bd17b59e182c7d0c2bdd7a861c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malthe=20J=C3=B8rgensen?= Date: Mon, 6 Jun 2016 17:21:08 +0200 Subject: [PATCH] [Fix] Incorrect URL parameter in route --- flask_debugtoolbar/panels/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flask_debugtoolbar/panels/__init__.py b/flask_debugtoolbar/panels/__init__.py index 6dab5bd..61d41da 100644 --- a/flask_debugtoolbar/panels/__init__.py +++ b/flask_debugtoolbar/panels/__init__.py @@ -37,13 +37,13 @@ class UMLDiagramPanel(DebugPanel): @classmethod def init_app(cls, app): app.add_url_rule( - '/_flask_debugtoolbar_umldiagram/', + '/_flask_debugtoolbar_umldiagram/', '_flask_debugtoolbar_umldiagram.serve_generated_image', cls.serve_generated_image ) @classmethod - def serve_generated_image(cls, app): + def serve_generated_image(cls, classname): return Response(...) """ pass