Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-02-17 14:22:53 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-02-17 14:22:53 +0100
commit196b8884324c2646b7e4b06cf3c711df8582e651 (patch)
tree708ae637097b7e5a9c0068345004e6c54a8734cf /archinstall
parenta6bfe54951b09afd73dd61340107bbe5d5747f7f (diff)
Variable mistake
Diffstat (limited to 'archinstall')
-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 1487c277..01c3288c 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"{self.namespace}.py") as imported:
+ with self.load_instructions(namespace=f"{self.namespace}.py") as imported:
if hasattr(imported, '_prep_function'):
return True
return False