From 98b78246198dd9f55ff0a045d6e8a9ea43a61b78 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Thu, 16 Sep 2021 19:14:06 -0600 Subject: [PATCH] Fix typo --- Resources/device_probe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/device_probe.py b/Resources/device_probe.py index 73d49e477..aff61baa8 100644 --- a/Resources/device_probe.py +++ b/Resources/device_probe.py @@ -325,7 +325,7 @@ class Computer: computer.storage_probe() computer.smbios_probe() computer.cpu_probe() - computer.bluetooth() + computer.bluetooth_probe() return computer def gpu_probe(self): @@ -440,11 +440,11 @@ class Computer: subprocess.run("sysctl machdep.cpu.features".split(), stdout=subprocess.PIPE).stdout.decode().partition(": ")[2].strip().split(" "), ) - def bluetooth(self): + def bluetooth_probe(self): usb_data: str = subprocess.run("system_profiler SPUSBDataType".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.decode() if "BRCM2070 Hub" in usb_data: self.bluetooth_chipset = "BRCM2070 Hub" elif "BRCM2046 Hub" in usb_data: self.bluetooth_chipset = "BRCM2046 Hub" elif "Bluetooth": - self.bluetooth_chipset = "Generic" \ No newline at end of file + self.bluetooth_chipset = "Generic"