Merged master
This commit is contained in:
commit
21c0c3b48e
|
|
@ -18,7 +18,7 @@ plugins = {}
|
|||
# 1: List archinstall.plugin definitions
|
||||
# 2: Load the plugin entrypoint
|
||||
# 3: Initiate the plugin and store it as .name in plugins
|
||||
for plugin_definition in metadata.entry_points().get('archinstall.plugin', []):
|
||||
for plugin_definition in metadata.entry_points().select('archinstall.plugin'):
|
||||
plugin_entrypoint = plugin_definition.load()
|
||||
try:
|
||||
plugins[plugin_definition.name] = plugin_entrypoint()
|
||||
|
|
|
|||
Loading…
Reference in New Issue