Fix scan bug not finding vm/pc installations 2

This commit is contained in:
sepehr 2024-08-09 15:54:04 +03:30
parent 4b52bcc0c3
commit e6930e3a1a

View file

@ -299,6 +299,8 @@ def grab_device_data(dev, q):
if d['name'] in excluded_keys: if d['name'] in excluded_keys:
continue continue
health_vals[d['name']]=d['value'] health_vals[d['name']]=d['value']
elif result['board-name']=='x86':
health_vals={}
else: else:
health_vals: Dict[str, str] = health[0] health_vals: Dict[str, str] = health[0]
result.update(health_vals) result.update(health_vals)