From eb61020395da62b807a2ffed2e11caa41f998e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 6 Dec 2021 17:13:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20blueprint=20registration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forgot to commit the file --- src/octoprint/plugin/types.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/octoprint/plugin/types.py b/src/octoprint/plugin/types.py index bea482ed1..49c29e50a 100644 --- a/src/octoprint/plugin/types.py +++ b/src/octoprint/plugin/types.py @@ -1423,9 +1423,7 @@ class BlueprintPlugin(OctoPrintPlugin, RestartNeedingPlugin): import flask kwargs = self.get_blueprint_kwargs() - blueprint = flask.Blueprint( - "plugin." + self._identifier, self._identifier, **kwargs - ) + blueprint = flask.Blueprint(self._identifier, self._identifier, **kwargs) # we now iterate over all members of ourselves and look if we find an attribute # that has data originating from one of our decorators - we ignore anything