From 21a1088ea4a705a9ab3a825b478a5168bdc90fe4 Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Mon, 6 Jul 2026 11:34:53 +0800 Subject: [PATCH] fix: remove unnecessary return statement in switch logic --- module/ui/switch.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/ui/switch.py b/module/ui/switch.py index c946b72..64bdb4d 100644 --- a/module/ui/switch.py +++ b/module/ui/switch.py @@ -152,9 +152,7 @@ class Switch: if counter >= 1: logger.warning(f'{self.name} switch {state} asset has evaluated to unknown too many times, ' f'asset should be re-verified') - return False counter += 1 - continue # Click if click_timer.reached():