fix same chid for diferent algos 2

This commit is contained in:
Cayo Puigdefabregas 2025-02-14 11:42:49 +01:00
parent 49cce3daa9
commit 0983af929a

View file

@ -36,7 +36,9 @@ class Build(BuildMix):
self.manufacturer = system self.manufacturer = system
self.model = get_inxi(m, "product") self.model = get_inxi(m, "product")
self.serial_number = get_inxi(m, "serial") self.serial_number = get_inxi(m, "serial")
self.chassis = get_inxi(m, "Type") self.type = get_inxi(m, "Type")
self.chassis = self.type
self.version = get_inxi(m, "v")
else: else:
self.sku = get_inxi(m, "part-nu") self.sku = get_inxi(m, "part-nu")