From 9921276ea541a15b8c9bdcec40e53eb432c25817 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 6 Dec 2020 11:29:44 +0100 Subject: Wrong variable passed to spec_from_file_location() --- archinstall/lib/profiles.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'archinstall/lib') 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 -- cgit v1.2.3-54-g00ecf