Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 11:29:44 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 11:29:44 +0100
commit9921276ea541a15b8c9bdcec40e53eb432c25817 (patch)
tree66053d136a862c87b95ad78e1ee48c3302551c6b /archinstall/lib
parent73ca83f2c9d3652216b50f7770204f138ccdc249 (diff)
Wrong variable passed to spec_from_file_location()
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/profiles.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 68d7a08c..a85e4f6e 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -115,8 +115,7 @@ class Script():
if namespace:
self.namespace = namespace
- print('Namespace:', namespace, self.path, self.namespace)
- spec = importlib.util.spec_from_file_location(namespace, self.path)
+ spec = importlib.util.spec_from_file_location(self.namespace, self.path)
imported = importlib.util.module_from_spec(spec)
sys.modules[self.namespace] = imported