From bf97e5b50cc5fadbfa2837037dca6f3372e75bc9 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Fri, 8 Nov 2024 22:23:18 +0700 Subject: [PATCH] Corrected chipset data lookup --- Scripts/platforms/windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/platforms/windows.py b/Scripts/platforms/windows.py index 8c4dabc..5ab0feb 100755 --- a/Scripts/platforms/windows.py +++ b/Scripts/platforms/windows.py @@ -99,8 +99,8 @@ class WindowsHardwareInfo: if device_class in "Unknown": device_class = self.unknown_class_device(device_info.get("Device ID")) - elif device_class in "System" and chipset_data.get(device_info.get("Device ID")): - self.chipset_model = chipset_data.get(device_info.get("Device ID")) + elif device_class in "System" and chipset_data.chipset_controllers.get(device_info.get("Device ID")): + self.chipset_model = chipset_data.chipset_controllers.get(device_info.get("Device ID")) if device_class in self.devices_by_class: self.devices_by_class[device_class].append(device)