From 7d127ff068c5942f37d2e6b05aa3713471595ea9 Mon Sep 17 00:00:00 2001 From: Matthias Hagmann <16444067+MattHag@users.noreply.github.com> Date: Sat, 2 Mar 2024 18:17:49 +0100 Subject: [PATCH] fix: Use exception from exception module --- lib/logitech_receiver/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logitech_receiver/base.py b/lib/logitech_receiver/base.py index de52e96d33..be01e02a44 100644 --- a/lib/logitech_receiver/base.py +++ b/lib/logitech_receiver/base.py @@ -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: