Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index 26c82a7e..6ca0e1c9 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -506,6 +506,8 @@ def disk_info(drive, *positionals, **kwargs):
fileformats.append(child['fstype'])
if child['label'] != None:
labels.append(child['label'])
+ else:
+ labels = ['*Empty drive (no partitions)*']
info['fileformats'] = fileformats
info['labels'] = labels
info['model'] = get_disk_model(drive)