From 0a085e51064ae1ea3b81ac18068f95aa9a379a2e Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 29 Nov 2020 21:43:49 +0000 Subject: Profile filename confusion between list_profiles() and @path declaration. --- archinstall/lib/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 25b124fd..e83e8346 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -110,7 +110,7 @@ class Script(): examples = list_profiles() if f"{self.profile}" in examples: - return self.localize_path(examples[f"{self.profile}.py"]['path']) + return self.localize_path(examples[self.profile]['path']) # TODO: Redundant, the below block shouldnt be needed as profiles are stripped of their .py, but just in case for now: elif f"{self.profile}.py" in examples: return self.localize_path(examples[f"{self.profile}.py"]['path']) -- cgit v1.2.3-54-g00ecf