Blackened
This commit is contained in:
parent
2574e38b47
commit
c85bdcc91d
10 changed files with 49 additions and 30 deletions
|
|
@ -36,7 +36,11 @@ def plugins_representation(plugin_dict):
|
|||
}
|
||||
|
||||
for view_id, view_data in plugin.views.items():
|
||||
uri = url_for(f"PluginListResource", _external=True) + "/" + view_data["rule"][1:]
|
||||
uri = (
|
||||
url_for(f"PluginListResource", _external=True)
|
||||
+ "/"
|
||||
+ view_data["rule"][1:]
|
||||
)
|
||||
# Make links dictionary if it doesn't yet exist
|
||||
view_d = {"href": uri, **description_from_view(view_data["view"])}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue