Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 11:54:38 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 11:54:38 +0100
commit017b4b4fa90d4cb979e04919a1baf92e97876fd1 (patch)
tree1a5ac3593c6181b0a412ba865a6b196689d114a9
parent74c351f27fbc88568251a4fa0f638f4543bed0ce (diff)
Added debugging to find application issue
-rw-r--r--archinstall/lib/profiles.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 9ca410f8..6bd41d58 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -168,6 +168,14 @@ class Application(Profile):
# Try to locate all local or known URL's
examples = list_profiles(subpath='/applications')
+ import time
+ print(self.profile)
+ print('Examples:', examples)
+ print(f"{self.profile}" in examples)
+ print(f"{self.profile}.py" in examples)
+ print(os.path.isfile(self.profile))
+ time.sleep(30)
+
if f"{self.profile}" in examples:
return self.localize_path(examples[self.profile]['path'])
# TODO: Redundant, the below block shouldnt be needed as profiles are stripped of their .py, but just in case for now: