Skip to content

Commit

Permalink
test package -1
Browse files Browse the repository at this point in the history
  • Loading branch information
DLmaster361 committed Jan 28, 2025
1 parent 3a63a73 commit 793259a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/core/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@

class MainTimer(QWidget):

if_FailSafeExceptioned = False

def __init__(
self,
parent=None,
):
super().__init__(parent)

self.if_FailSafeException = False

self.Timer = QTimer()
self.Timer.timeout.connect(self.timed_start)
self.Timer.timeout.connect(self.set_silence)
Expand Down Expand Up @@ -102,9 +102,9 @@ def set_silence(self):
]
)
except pyautogui.FailSafeException as e:
if not self.if_FailSafeException:
if not self.if_FailSafeExceptioned:
logger.warning(f"FailSafeException: {e}")
self.if_FailSafeException = True
self.if_FailSafeExceptioned = True

def search_queue(self) -> list:
"""搜索所有调度队列实例"""
Expand Down

0 comments on commit 793259a

Please sign in to comment.