ratbagctl: capitalize device type instead of having it in upper case

This commit is contained in:
Yaroslav Chvanov
2023-01-16 21:53:13 +03:00
parent d95328e8cc
commit 4b2b5a2038

View File

@@ -229,7 +229,7 @@ def print_device(d, level):
print(" " * level + "{} - {}".format(d.id, d.name))
print(" " * level + " Model: {}".format(d.model))
print(" " * level + " Device Type: {}".format(d.device_type.name))
print(" " * level + " Device Type: {}".format(d.device_type.name.capitalize()))
if d.firmware_version:
print(" " * level + " Firmware version: {}".format(d.firmware_version))
print(" " * level + " Number of Buttons: {}".format(len(p.buttons)))