Skip to content

Commit 9c6c36f

Browse files
authored
Match the LV example and use human-readable strings (#77)
1 parent eea9a5c commit 9c6c36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/system/src/system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def create_hardware_item(
8686

8787
def create_software_item(software_entry: nisyscfg.component_info.ComponentInfo) -> SoftwareItem:
8888
"""Create a new SoftwareItem instance from the specified nisyscfg entry."""
89-
new_instance = SoftwareItem(product=software_entry.id, version=software_entry.version)
89+
new_instance = SoftwareItem(product=software_entry.title, version=software_entry.version)
9090
return new_instance
9191

9292

0 commit comments

Comments
 (0)