Fixing a missing usage of device_type and html5lib.

This commit is contained in:
Yaro Kasear 2025-07-29 08:39:50 -05:00
parent 1aee318853
commit 3ae6f85dc7
3 changed files with 3 additions and 2 deletions

View file

@ -224,7 +224,7 @@ def get_inventory_csv():
case "owner":
return item.owner.identifier
case "type":
return item.type.description
return item.device_type.description
case _:
return getattr(item, col, "")
except Exception: