From 430a2d71e366dc7a40c1970ba12776675fbb5970 Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Fri, 14 Dec 2012 19:51:18 +0200 Subject: [PATCH] read all device features as soon as the application is idle --- lib/logitech/unifying_receiver/status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/logitech/unifying_receiver/status.py b/lib/logitech/unifying_receiver/status.py index 0f6ae9fc..20833759 100644 --- a/lib/logitech/unifying_receiver/status.py +++ b/lib/logitech/unifying_receiver/status.py @@ -169,7 +169,8 @@ class DeviceStatus(dict): self._changed(timestamp=timestamp) # make sure we know all the features of the device - # d.features[:] + if d.features: + d.features[:] elif len(self) > 0 and timestamp - self.updated > _STATUS_TIMEOUT: # if the device has been inactive for too long, clear out any known