Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profile/profile_model.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/profile/profile_model.py')
-rw-r--r--archinstall/lib/profile/profile_model.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archinstall/lib/profile/profile_model.py b/archinstall/lib/profile/profile_model.py
index 2b52073a..8c955733 100644
--- a/archinstall/lib/profile/profile_model.py
+++ b/archinstall/lib/profile/profile_model.py
@@ -27,11 +27,13 @@ class ProfileConfiguration:
@classmethod
def parse_arg(cls, arg: Dict[str, Any]) -> 'ProfileConfiguration':
from .profiles_handler import profile_handler
+
+ profile = profile_handler.parse_profile_config(arg['profile'])
greeter = arg.get('greeter', None)
gfx_driver = arg.get('gfx_driver', None)
return ProfileConfiguration(
- profile_handler.parse_profile_config(arg['profile']),
+ profile,
GfxDriver(gfx_driver) if gfx_driver else None,
GreeterType(greeter) if greeter else None
)