From a7784b40abcbd9b9ca168291364df482c6106928 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Thu, 13 Jun 2024 05:50:23 -0400 Subject: [PATCH] cli: finish change to show.py for new constants --- lib/solaar/cli/show.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/solaar/cli/show.py b/lib/solaar/cli/show.py index 8d2a3fc6..48f63a47 100644 --- a/lib/solaar/cli/show.py +++ b/lib/solaar/cli/show.py @@ -57,7 +57,7 @@ def _print_receiver(receiver): else: print(" Notifications: (none)") - activity = receiver.read_register(_hidpp10_constants.REGISTERS.devices_activity) + activity = receiver.read_register(_hidpp10_constants.Registers.DEVICES_ACTIVITY) if activity: activity = [(d, ord(activity[d - 1 : d])) for d in range(1, receiver.max_devices)] activity_text = ", ".join(f"{int(d)}={int(a)}" for d, a in activity if a > 0)