mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-08-25 14:53:06 +00:00
Prevent errors in cases with missing storage controller information
This commit is contained in:
@@ -228,7 +228,7 @@ class KextMaestro:
|
||||
if controller_props.get("Device ID") in pci_data.RealtekCardReaderIDs:
|
||||
selected_kexts.append("RealtekCardReader")
|
||||
|
||||
for controller_name, controller_props in hardware_report.get("Storage Controllers").items():
|
||||
for controller_name, controller_props in hardware_report.get("Storage Controllers", {}).items():
|
||||
if "NVMe" in controller_name or "NVM Express" in controller_name:
|
||||
selected_kexts.append("NVMeFix")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user