diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b0bd0133..4ce062fe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ - Streamline Bluetooth device detection - Add Probing for Top Case hardware (Jazzzny) - Improves handling for altered hardware scenarios (i.e. MacBookPro4,1 with MacBookPro3,1 topcase) + - utilities.py: + - Fix indexing error on Device Paths (thx [@Ausdauersportler](https://github.com/Ausdauersportler)) - Increment Binaries: - PatcherSupportPkg 1.1.4 - release diff --git a/resources/utilities.py b/resources/utilities.py index e7f476c70..c5676a391 100644 --- a/resources/utilities.py +++ b/resources/utilities.py @@ -437,7 +437,7 @@ def clean_device_path(device_path: str): if len(device_path_array) >= 2: device_path_stripped = device_path_array[-2] device_path_root_array = device_path_stripped.split(",") - if len(device_path_root_array) >= 2: + if len(device_path_root_array) > 2: return device_path_root_array[2] return None