has_partitions() doesn't take any parameters, old reminant of prototype code.

This commit is contained in:
Anton Hvornum 2021-02-07 12:53:01 +01:00
parent fa2270a11b
commit e06603f0e1
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ archinstall.storage['_guided']['mirrors'] = mirror_regions
harddrive = archinstall.select_disk(archinstall.all_disks())
archinstall.storage['_guided']['harddrive'] = harddrive
if harddrive.has_partitions(harddrive):
if harddrive.has_partitions():
archinstall.log(f" ! {harddrive} contains existing partitions", fg='red')
if (option := input('Do you wish to keep existing partition setup or format the entire disk? (k/f): ')).lower() in ('k', 'keep'):
print("We're keeping it!")