Avoid crash during HW Diagnostics
This commit is contained in:
parent
32b25f912d
commit
527a5b2e97
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ def mount_volumes(device_path=None, read_write=False, scan_corestorage=False):
|
|||
result += 'Failed to mount'
|
||||
report.append(std.color_string(result, 'RED'))
|
||||
continue
|
||||
result += f'{"Mounted on "+vol.details.get("mountpoint", "?"):<40}'
|
||||
result += f'{"Mounted on "+str(vol.details.get("mountpoint", "?")):<40}'
|
||||
|
||||
# Add size to result
|
||||
vol.get_details()
|
||||
|
|
|
|||
Loading…
Reference in a new issue