Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-02-17 14:22:26 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-02-17 14:22:26 +0100
commita6bfe54951b09afd73dd61340107bbe5d5747f7f (patch)
tree9acf081ac7e2172edd2b256b72b0beb715e4f653
parentad4733bbd0b0e889ad902a7d954ec985fc7a24fe (diff)
Variable mistake
-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 7b0e78e4..1487c277 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -169,7 +169,7 @@ class Profile(Script):
# trigger a traditional:
# if __name__ == 'moduleName'
if '__name__' in source_data and '_prep_function' in source_data:
- with profile.load_instructions(namespace=f"{selected_profile}.py") as imported:
+ with profile.load_instructions(namespace=f"{self.namespace}.py") as imported:
if hasattr(imported, '_prep_function'):
return True
return False