mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
屏蔽温度传感器报错
This commit is contained in:
parent
500771dfa7
commit
039d4c6946
@ -100,7 +100,6 @@ class HwInfoSubmanager(BaseInfoSubmanager):
|
|||||||
try:
|
try:
|
||||||
return int((await aiofs.read(temp_path)).strip()) / 1000
|
return int((await aiofs.read(temp_path)).strip()) / 1000
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
get_logger(0).error("Can't read CPU temp from %s: %s", temp_path, err)
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
async def __get_throttling(self) -> (dict | None):
|
async def __get_throttling(self) -> (dict | None):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user