From f9681b3083751b017fce254c650cc3689c48f860 Mon Sep 17 00:00:00 2001 From: Miskler Date: Sat, 31 Aug 2024 20:47:36 +0300 Subject: [PATCH] mini fix --- rivalcfg/mouse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rivalcfg/mouse.py b/rivalcfg/mouse.py index ccc0b0c..77077a2 100644 --- a/rivalcfg/mouse.py +++ b/rivalcfg/mouse.py @@ -87,7 +87,7 @@ def __init__(self, hid_device, mouse_profile, mouse_settings, command_approve_de self.mouse_profile = mouse_profile self.mouse_settings = mouse_settings if command_approve_delay < self._MIN_COMMAND_APPROVE_DELAY: - ValueError(f"command_approve_delay is unsafe to use, with a delay of less than {self._MIN_COMMAND_APPROVE_DELAY} seconds") + raise ValueError(f"command_approve_delay is unsafe to use, with a delay of less than {self._MIN_COMMAND_APPROVE_DELAY} seconds") else: self._command_approve_delay = command_approve_delay