test package -1
This commit is contained in:
@@ -39,14 +39,14 @@ from app.services import System
|
|||||||
|
|
||||||
class MainTimer(QWidget):
|
class MainTimer(QWidget):
|
||||||
|
|
||||||
|
if_FailSafeExceptioned = False
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
parent=None,
|
parent=None,
|
||||||
):
|
):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
|
||||||
self.if_FailSafeException = False
|
|
||||||
|
|
||||||
self.Timer = QTimer()
|
self.Timer = QTimer()
|
||||||
self.Timer.timeout.connect(self.timed_start)
|
self.Timer.timeout.connect(self.timed_start)
|
||||||
self.Timer.timeout.connect(self.set_silence)
|
self.Timer.timeout.connect(self.set_silence)
|
||||||
@@ -102,9 +102,9 @@ class MainTimer(QWidget):
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
except pyautogui.FailSafeException as e:
|
except pyautogui.FailSafeException as e:
|
||||||
if not self.if_FailSafeException:
|
if not self.if_FailSafeExceptioned:
|
||||||
logger.warning(f"FailSafeException: {e}")
|
logger.warning(f"FailSafeException: {e}")
|
||||||
self.if_FailSafeException = True
|
self.if_FailSafeExceptioned = True
|
||||||
|
|
||||||
def search_queue(self) -> list:
|
def search_queue(self) -> list:
|
||||||
"""搜索所有调度队列实例"""
|
"""搜索所有调度队列实例"""
|
||||||
|
|||||||
Reference in New Issue
Block a user