mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 11:01:53 +08:00
屏蔽温度传感器报错
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user