Apply "temp" fix for macOS HW-Diags
This commit is contained in:
parent
7fdab1b1e6
commit
3f48b10942
1 changed files with 2 additions and 1 deletions
|
|
@ -749,8 +749,9 @@ def get_disks_macos():
|
|||
disks.append(Disk(f'/dev/{disk}'))
|
||||
|
||||
# Remove virtual disks
|
||||
# TODO: Test more to figure out why some drives are being marked 'Unknown'
|
||||
disks = [
|
||||
d for d in disks if d.details.get('VirtualOrPhysical') == 'Physical'
|
||||
d for d in disks if d.details.get('VirtualOrPhysical') != 'Virtual'
|
||||
]
|
||||
|
||||
# Done
|
||||
|
|
|
|||
Loading…
Reference in a new issue