Skip to content

Commit

Permalink
Fix #462
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 22, 2024
1 parent 3120343 commit 095b999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jtop/core/jetson_libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_libraries():
os_variables[name_dict] = ''
# Find version if installed
for module, version in modules.items():
if name.endswith('.') and name.lower()[:-1] in module:
if name.endswith('.') and name.lower()[:-1] == module:
os_variables[name_dict] = version.split('-')[0]
break
if name.lower() in module:
Expand Down

0 comments on commit 095b999

Please sign in to comment.