mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Use distinfo.project_name for plugin name if available, closes #606
This commit is contained in:
parent
3ca290e0db
commit
937828f946
1 changed files with 1 additions and 0 deletions
|
|
@ -633,6 +633,7 @@ def get_plugins(pm):
|
|||
distinfo = plugin_to_distinfo.get(plugin)
|
||||
if distinfo:
|
||||
plugin_info["version"] = distinfo.version
|
||||
plugin_info["name"] = distinfo.project_name
|
||||
plugins.append(plugin_info)
|
||||
return plugins
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue