From ffbb952eb35b25c7538dca3426854292b67e2cc3 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 8 Mar 2021 14:58:58 +0100 Subject: Added some debugging. --- examples/guided.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/guided.py b/examples/guided.py index bfe8b4f3..264ff44e 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -167,8 +167,6 @@ if archinstall.arguments['harddrive'].has_partitions(): elif option == 'format-all': archinstall.arguments['harddrive'].keep_partitions = False -print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive']) - # Get disk encryption password (or skip if blank) if not archinstall.arguments.get('!encryption-password', None): archinstall.arguments['!encryption-password'] = archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): ') @@ -230,12 +228,15 @@ except archinstall.RequirementError as e: if not archinstall.arguments.get('nic', None): archinstall.arguments['nic'] = archinstall.ask_to_configure_network() +print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive']) + print() print('This is your chosen configuration:') archinstall.log("-- Guided template chosen (with below config) --", level=archinstall.LOG_LEVELS.Debug) archinstall.log(json.dumps(archinstall.arguments, indent=4, sort_keys=True, cls=archinstall.JSON), level=archinstall.LOG_LEVELS.Info) print() +print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive']) input('Press Enter to continue.') """ -- cgit v1.2.3-70-g09d2