Fix TypeError caused by incorrect argument in startswith() method

This commit is contained in:
Hoang Hong Quan
2024-10-10 20:34:10 +07:00
parent 4e8b1e4625
commit 95b80a0363

View File

@@ -35,7 +35,7 @@ class GPUIdentifier:
gpu_codename = "Jasper Lake"
elif device_id.startswith("4C"):
gpu_codename = "Rocket Lake"
elif device_id.startswith("462", "46A"):
elif device_id.startswith(("462", "46A")):
gpu_codename = "Alder Lake-P"
elif device_id.startswith("46D"):
gpu_codename = "Alder Lake-N"