Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/profiles.py')
-rw-r--r--archinstall/lib/profiles.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index e22a3587..724b92e7 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -134,6 +134,9 @@ class Script():
sys.modules[namespace] = imported
print(f"Imported {self} into sys.modules with namespace {namespace}.")
+
+ if '.py' not in namespace:
+ raise KeyError("Debugging")
return self
def execute(self):