Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-01-14 13:23:30 +0100
committerAnton Hvornum <anton@hvornum.se>2022-01-14 13:23:30 +0100
commitb533bd0553b094a201e11d47df8206cdd85c8f1c (patch)
treec769f71b1b0d5a94d801d58e6c1e863f25e3a92f /archinstall
parentda0c08e79ac79b0730ddc7f816c09b407bdc15f2 (diff)
Moved lib.plugin import to the top
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index c81a630f..dc63b498 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -22,7 +22,7 @@ from .lib.systemd import *
from .lib.user_interaction import *
from .lib.menu import Menu
from .lib.menu.selection_menu import GlobalMenu
-
+from .lib.plugins import plugins, load_plugin # This initiates the plugin loading ceremony
parser = ArgumentParser()
@@ -159,7 +159,6 @@ def post_process_arguments(arguments):
if arguments.get('debug',False):
log(f"Warning: --debug mode will write certain credentials to {storage['LOG_PATH']}/{storage['LOG_FILE']}!", fg="red", level=logging.WARNING)
- from .lib.plugins import plugins, load_plugin # This initiates the plugin loading ceremony
if arguments.get('plugin', None):
load_plugin(arguments['plugin'])