From b3285421d1ac167ee45a4dda2d8cbbe6c07f4f37 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 7 Nov 2024 17:33:36 +0100 Subject: [PATCH] fix lshw json --- workbench-script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench-script.py b/workbench-script.py index 9e17ff0..fc65d87 100644 --- a/workbench-script.py +++ b/workbench-script.py @@ -261,7 +261,7 @@ def smartctl(all_disks, disk=None): # TODO permitir selección # TODO permitir que vaya más rápido def get_data(all_disks): - lshw = 'sudo lshw -json' + lshw = 'sudo lshw -xml' hwinfo = 'sudo hwinfo --reallyall' dmidecode = 'sudo dmidecode' lspci = 'sudo lspci -vv'