From 87020707256c42cc660434b69a3cb30d2aaa08a9 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Tue, 28 Jan 2025 13:36:01 +0800 Subject: [PATCH] test package -2 --- app/core/timer.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/core/timer.py b/app/core/timer.py index 1536710..11b9008 100644 --- a/app/core/timer.py +++ b/app/core/timer.py @@ -39,8 +39,6 @@ from app.services import System class MainTimer(QWidget): - if_FailSafeExceptioned = False - def __init__( self, parent=None, @@ -102,9 +100,7 @@ class MainTimer(QWidget): ] ) except pyautogui.FailSafeException as e: - if not self.if_FailSafeExceptioned: - logger.warning(f"FailSafeException: {e}") - self.if_FailSafeExceptioned = True + logger.warning(f"FailSafeException: {e}") def search_queue(self) -> list: """搜索所有调度队列实例"""