Fix bug showing OSDs as split when not
This commit is contained in:
parent
9cd88ebccb
commit
1e9871241e
|
@ -430,7 +430,9 @@ def format_list_osd(config, osd_list):
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if osd_information.get("is_split") is not None:
|
if osd_information.get("is_split") is not None and osd_information.get(
|
||||||
|
"is_split"
|
||||||
|
):
|
||||||
osd_information["device"] = f"{osd_information['device']} [s]"
|
osd_information["device"] = f"{osd_information['device']} [s]"
|
||||||
|
|
||||||
# Deal with the size to human readable
|
# Deal with the size to human readable
|
||||||
|
|
Loading…
Reference in New Issue