mirror of
https://github.com/outbackdingo/Hardware-Sniffer.git
synced 2026-01-27 10:19:09 +00:00
Fix TypeError caused by incorrect argument in startswith() method
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user