Skip to content

Commit

Permalink
fix: Use exception from exception module
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHag authored and pfps committed Mar 2, 2024
1 parent fb9dbb9 commit 7d127ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logitech_receiver/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def request(handle, devnumber, request_id, *params, no_reply=False, return_error
error,
_hidpp20_constants.ERROR[error],
)
raise _hidpp20.FeatureCallError(number=devnumber, request=request_id, error=error, params=params)
raise exceptions.FeatureCallError(number=devnumber, request=request_id, error=error, params=params)

if reply_data[:2] == request_data[:2]:
if devnumber == 0xFF:
Expand Down

0 comments on commit 7d127ff

Please sign in to comment.