From 4faa50f0ee2735829f295b5fed07852f588fb160 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Tue, 20 Feb 2024 05:04:17 -0500 Subject: [PATCH] Update hidpp20.py --- lib/logitech_receiver/hidpp20.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logitech_receiver/hidpp20.py b/lib/logitech_receiver/hidpp20.py index 919557bc56..201be55f08 100644 --- a/lib/logitech_receiver/hidpp20.py +++ b/lib/logitech_receiver/hidpp20.py @@ -276,7 +276,7 @@ def _getCidReporting(self): self._mapping_flags = mapping_flags_1 | (mapping_flags_2 << 8) else: raise exceptions.FeatureCallError(msg='No reply from device.') - except exceptions.FeatureCallError: # if the key hasn't ever been configured then the read may fail so only produce a warning + except exceptions.FeatureCallError: # if the key hasn't ever been configured then the read may fail if logger.isEnabledFor(logging.WARNING): logger.warn( f'Feature Call Error in _getCidReporting on device {self._device} for cid {self._cid} - use defaults'