mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-11 04:16:17 +00:00
Update flask_server.py
This commit is contained in:
@@ -2308,9 +2308,6 @@ def get_hardware_info():
|
|||||||
print(f"[v0] Error getting memory info: {e}")
|
print(f"[v0] Error getting memory info: {e}")
|
||||||
|
|
||||||
storage_info = get_storage_info()
|
storage_info = get_storage_info()
|
||||||
for device in storage_info.get('disks', []):
|
|
||||||
hw_info = get_disk_hardware_info(device['name'])
|
|
||||||
device.update(hw_info)
|
|
||||||
hardware_data['storage_devices'] = storage_info.get('disks', [])
|
hardware_data['storage_devices'] = storage_info.get('disks', [])
|
||||||
|
|
||||||
# Graphics Cards (from lspci - will be duplicated by new PCI device listing, but kept for now)
|
# Graphics Cards (from lspci - will be duplicated by new PCI device listing, but kept for now)
|
||||||
|
Reference in New Issue
Block a user