Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-11-29 21:43:49 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-29 21:43:49 +0000
commit0a085e51064ae1ea3b81ac18068f95aa9a379a2e (patch)
treee3ee613cd0b0d421aed38b68dc6e0fe4c5f68efd
parent4fd1e96d24e55bd414547cb6401d2ea1efbadf7a (diff)
Profile filename confusion between list_profiles() and @path declaration.
-rw-r--r--archinstall/lib/profiles.py2
1 files changed, 1 insertions, 1 deletions
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'])