From b533bd0553b094a201e11d47df8206cdd85c8f1c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 14 Jan 2022 13:23:30 +0100 Subject: Moved lib.plugin import to the top --- archinstall/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 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']) -- cgit v1.2.3-70-g09d2