Fix for amd (#76)

* added hot fix for snap for pop os
This commit is contained in:
Vadym Stupakov 2020-08-06 18:30:47 +03:00 committed by GitHub
parent 8af3f39bbf
commit 35d6cb6519
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ def sysinfo():
temp = core_temp['coretemp'][core_num].current
elif "k10temp" in core_temp:
# https://www.kernel.org/doc/Documentation/hwmon/k10temp
temp = core_temp['k10temp'].current
temp = core_temp['k10temp'][0].current
elif "acpitz" in core_temp:
temp = core_temp['acpitz'][0].current
except: