Skip to content

Commit

Permalink
Update hidpp20.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pfps authored Feb 20, 2024
1 parent f3bb6c5 commit 4faa50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logitech_receiver/hidpp20.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4faa50f

Please sign in to comment.