mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-27 13:40:40 +00:00
Update flask_server.py
This commit is contained in:
@@ -5709,9 +5709,9 @@ def get_hardware_info():
|
|||||||
'high': entry.high if entry.high else 0,
|
'high': entry.high if entry.high else 0,
|
||||||
'critical': entry.critical if entry.critical else 0
|
'critical': entry.critical if entry.critical else 0
|
||||||
})
|
})
|
||||||
|
except Exception as e:
|
||||||
# print(f"[v0] Temperature sensors: {len(hardware_data['sensors']['temperatures'])} found")
|
# print(f"[v0] Error getting temperature sensors: {e}")
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
sensors_output = get_cached_sensors_output()
|
sensors_output = get_cached_sensors_output()
|
||||||
|
|||||||
Reference in New Issue
Block a user