We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 154b3a7 commit 8114492Copy full SHA for 8114492
netbox/core/plugins.py
@@ -80,6 +80,13 @@ def get_local_plugins(plugins=None):
80
plugin = importlib.import_module(plugin_name)
81
plugin_config: PluginConfig = plugin.config
82
83
+ if plugin_config.author:
84
+ author = PluginAuthor(
85
+ name=plugin_config.author,
86
+ )
87
+ else:
88
+ author = None
89
+
90
local_plugins[plugin_config.name] = Plugin(
91
config_name=plugin_config.name,
92
title_short=plugin_config.verbose_name,
@@ -88,6 +95,7 @@ def get_local_plugins(plugins=None):
95
description_short=plugin_config.description,
96
is_local=True,
97
is_installed=True,
98
+ author=author,
99
installed_version=plugin_config.version,
100
)
93
101
0 commit comments