From a6bfe54951b09afd73dd61340107bbe5d5747f7f Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 17 Feb 2021 14:22:26 +0100 Subject: Variable mistake --- archinstall/lib/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') 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 -- cgit v1.2.3-70-g09d2