From 2fe8a173f487f7bed76a4745a8c957aca10f07f9 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 8 Mar 2021 14:58:31 +0100 Subject: Added some debugging. --- examples/guided.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/guided.py') diff --git a/examples/guided.py b/examples/guided.py index 364e0a50..bfe8b4f3 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -94,7 +94,6 @@ if archinstall.arguments.get('harddrive', None): archinstall.arguments['harddrive'] = archinstall.BlockDevice(archinstall.arguments['harddrive']) else: archinstall.arguments['harddrive'] = archinstall.select_disk(archinstall.all_disks()) -print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive']) # Perform a quick sanity check on the selected harddrive. # 1. Check if it has partitions @@ -168,6 +167,8 @@ 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): ') -- cgit v1.2.3-70-g09d2