suhanna / System_info

MIT License
7 stars 6 forks source link

Fix py-cpuinfo key error #3

Closed RDCH106 closed 3 years ago

RDCH106 commented 3 years ago

py-cpuinfo since v6.0.0 changed branch tag by branch_raw thwoing the following error:

"D:\Program Files (x86)\Python36-32\python.exe" D:/GIT/System_info/test.py
Traceback (most recent call last):
  File "D:/GIT/System_info/test.py", line 1, in <module>
    from system_info import sysinfo
  File "D:\GIT\System_info\system_info\sysinfo.py", line 230, in <module>
    sysInfo = os_info.systemSpec()
  File "D:\GIT\System_info\system_info\sysinfo.py", line 55, in systemSpec
    data["Processor"] = cinfo['brand']
KeyError: 'brand'

Process finished with exit code 1