Fix bug showing OSDs as split when not

This commit is contained in:
Joshua Boniface 2024-02-12 13:09:57 -05:00
parent 9cd88ebccb
commit 1e9871241e
1 changed files with 3 additions and 1 deletions

View File

@ -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