mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-18 18:12:15 +00:00
Update flask_server.py
This commit is contained in:
@@ -5756,17 +5756,10 @@ def get_hardware_info():
|
||||
'unit': 'RPM',
|
||||
'adapter': current_adapter
|
||||
})
|
||||
# print(f"[v0] Fan sensor: {identified_name} ({sensor_name}) = {fan_speed} RPM")
|
||||
pass
|
||||
|
||||
hardware_data['sensors']['fans'] = fans
|
||||
# print(f"[v0] Found {len(fans)} fan sensor(s)")
|
||||
pass
|
||||
except Exception as e:
|
||||
# print(f"[v0] Error getting fan info: {e}")
|
||||
pass
|
||||
except Exception as e:
|
||||
# print(f"[v0] Error getting psutil sensors: {e}")
|
||||
# print(f"[v0] Error getting fan sensors: {e}")
|
||||
pass
|
||||
|
||||
# Power Supply / UPS
|
||||
|
||||
Reference in New Issue
Block a user