From 017b4b4fa90d4cb979e04919a1baf92e97876fd1 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 6 Dec 2020 11:54:38 +0100 Subject: Added debugging to find application issue --- archinstall/lib/profiles.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'archinstall/lib') 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: -- cgit v1.2.3-54-g00ecf