mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 22:00:00 +10:00
device_probe: Fix leafs formatting
This commit is contained in:
@@ -725,7 +725,7 @@ class Computer:
|
|||||||
leafs = []
|
leafs = []
|
||||||
result = subprocess.run("sysctl machdep.cpu.leaf7_features".split(), stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
result = subprocess.run("sysctl machdep.cpu.leaf7_features".split(), stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
||||||
if result.returncode == 0:
|
if result.returncode == 0:
|
||||||
leafs.append(result.stdout.decode().partition(": ")[2].strip().split(" "))
|
return result.stdout.decode().partition(": ")[2].strip().split(" ")
|
||||||
return leafs
|
return leafs
|
||||||
|
|
||||||
def bluetooth_probe(self):
|
def bluetooth_probe(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user