More visible output
This commit is contained in:
parent
c7bcba7a6a
commit
11d1e0f89c
|
|
@ -507,7 +507,8 @@ def disk_info(drive, *positionals, **kwargs):
|
||||||
if child['label'] != None:
|
if child['label'] != None:
|
||||||
labels.append(child['label'])
|
labels.append(child['label'])
|
||||||
else:
|
else:
|
||||||
labels = ['*Empty drive (no partitions)*']
|
fileformats = ['*Empty Drive*']
|
||||||
|
labels = ['(no partitions)']
|
||||||
info['fileformats'] = fileformats
|
info['fileformats'] = fileformats
|
||||||
info['labels'] = labels
|
info['labels'] = labels
|
||||||
info['model'] = get_disk_model(drive)
|
info['model'] = get_disk_model(drive)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue