mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-24 16:15:03 +08:00
😥英特尔处理器忘了lower了
This commit is contained in:
parent
d56adb038f
commit
450d5b957d
@ -230,7 +230,7 @@ async def get_hardware_data() -> dict:
|
||||
cpu_brand_raw = cpuinfo.get_cpu_info().get("brand_raw", "未知处理器")
|
||||
if "amd" in cpu_brand_raw.lower():
|
||||
brand = "AMD"
|
||||
elif "intel" in cpu_brand_raw:
|
||||
elif "intel" in cpu_brand_raw.lower():
|
||||
brand = "英特尔"
|
||||
elif "apple" in cpu_brand_raw.lower():
|
||||
brand = "苹果"
|
||||
|
Loading…
Reference in New Issue
Block a user