index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-06 11:54:38 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-06 11:54:38 +0100 |
commit | 017b4b4fa90d4cb979e04919a1baf92e97876fd1 (patch) | |
tree | 1a5ac3593c6181b0a412ba865a6b196689d114a9 /archinstall | |
parent | 74c351f27fbc88568251a4fa0f638f4543bed0ce (diff) |
-rw-r--r-- | archinstall/lib/profiles.py | 8 |
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: |