Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-05-31 12:17:18 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-05-31 12:17:18 +0200
commit7b1bb4af97e9a1bf1d14b0f4e60e8a87c043e832 (patch)
tree4d9a3a490dcb18cb12c6756ded5d1381448030fd
parent3006e5b4c3594ac21714e54d7751b8fec03ae9c2 (diff)
Fixed a plugin issue where there are no plugins found.
-rw-r--r--archinstall/lib/plugins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/plugins.py b/archinstall/lib/plugins.py
index a61be30b..24fbd8ee 100644
--- a/archinstall/lib/plugins.py
+++ b/archinstall/lib/plugins.py
@@ -16,7 +16,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()['archinstall.plugin']:
+for plugin_definition in metadata.entry_points().get('archinstall.plugin', []):
plugin_entrypoint = plugin_definition.load()
try:
plugins[plugin_definition.name] = plugin_entrypoint()