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