From 9fb08387deb16ff073c701fc16f5b3b77efbf29b Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 6 Dec 2020 11:58:16 +0100 Subject: Reverted last commit and added debugging in guided instead --- archinstall/lib/profiles.py | 8 -------- examples/guided.py | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 6bd41d58..9ca410f8 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -168,14 +168,6 @@ 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: diff --git a/examples/guided.py b/examples/guided.py index a4de0566..38894292 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -56,6 +56,8 @@ def perform_installation(device, boot_partition, language, mirrors): if archinstall.storage['_guided']['packages'] and archinstall.storage['_guided']['packages'][0] != '': installation.add_additional_packages(archinstall.storage['_guided']['packages']) + print('Installing:', archinstall.storage['_guided']['profile']['path'].strip()) + time.sleep(10) if 'profile' in archinstall.storage['_guided'] and len(profile := archinstall.storage['_guided']['profile']['path'].strip()): installation.install_profile(profile) -- cgit v1.2.3-54-g00ecf