More visible output

This commit is contained in:
Anton Hvornum 2019-11-18 16:50:05 +01:00
parent c7bcba7a6a
commit 11d1e0f89c
1 changed files with 2 additions and 1 deletions

View File

@ -507,7 +507,8 @@ def disk_info(drive, *positionals, **kwargs):
if child['label'] != None:
labels.append(child['label'])
else:
labels = ['*Empty drive (no partitions)*']
fileformats = ['*Empty Drive*']
labels = ['(no partitions)']
info['fileformats'] = fileformats
info['labels'] = labels
info['model'] = get_disk_model(drive)