fix same chid for diferent algos 2
This commit is contained in:
parent
49cce3daa9
commit
0983af929a
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue