legacy-mode #3

Merged
pedro merged 11 commits from legacy-mode into main 2024-10-15 12:17:26 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit f86852e89e - Show all commits

View File

@ -250,7 +250,7 @@ def get_data(all_disks):
dmidecode = 'sudo dmidecode'
lspci = 'sudo lspci -vv'
data = {
'lshw': json.loads(exec_cmd(lshw) or "{}"),
'lshw': exec_cmd(lshw) or "{}",
'disks': smartctl(all_disks),
'hwinfo': exec_cmd(hwinfo),
'dmidecode': exec_cmd(dmidecode),