From b8381a8a30e32686b11dc004be71cf5d63c84b0c Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Mon, 1 Mar 2021 20:57:53 -0700 Subject: [PATCH] Fix typo --- Resources/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/build.py b/Resources/build.py index 09b3fac5c4..005b3afec2 100644 --- a/Resources/build.py +++ b/Resources/build.py @@ -96,7 +96,7 @@ def build_efi(self): wifi_devices = plistlib.loads(subprocess.run(f"ioreg -c IOPCIDevice -r -d2 -a".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode()) wifi_devices = [i for i in wifi_devices if i["vendor-id"] == binascii.unhexlify("E4140000") and i["class-code"] == binascii.unhexlify("00800200")] wifi_devices = wifi_devices[0] - if (self.constants.custom_model) == "None" & (self.hexswap(binascii.hexlify(wifi_devices["vendor-id"]).decode()[:4]) in ModelArray.nativeWifi): + if (self.constants.custom_model == "None") & (self.hexswap(binascii.hexlify(wifi_devices["vendor-id"]).decode()[:4]) in ModelArray.nativeWifi): print("- Skipping wifi patches") else: if self.model in ModelArray.WifiAtheros: