From e4c6e892fa45e2d854dbbb7fb904ab46b3bfb704 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Sat, 28 Dec 2019 18:52:52 +0000 Subject: [PATCH] Fixed plugin list endpoint --- openflexure_microscope/common/flask_labthings/views/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openflexure_microscope/common/flask_labthings/views/plugins.py b/openflexure_microscope/common/flask_labthings/views/plugins.py index 35d01b50..5f96c5f9 100644 --- a/openflexure_microscope/common/flask_labthings/views/plugins.py +++ b/openflexure_microscope/common/flask_labthings/views/plugins.py @@ -37,7 +37,7 @@ def plugins_representation(plugin_dict): for view_id, view_data in plugin.views.items(): uri = ( - url_for(f"PluginListResource", _external=True) + url_for(f"pluginlistresource", _external=True) + "/" + view_data["rule"][1:] )