ws_queue定义提前

This commit is contained in:
zhbaor 2024-12-09 09:17:27 +08:00
parent 6fd236436f
commit 28130d75d2

View file

@ -26,6 +26,7 @@ sss_path = get_path("@app/sss.json")
timestamp: int = round(datetime.now().timestamp() * 1000)
"设置最后更改的时间戳"
ws_queue = Queue()
def save_conf(update_timestamp: bool = True):
@ -106,9 +107,6 @@ idle: bool = True
operators = {}
# 日志
ws_queue = Queue()
screenshot_time: datetime = datetime.now() - timedelta(
milliseconds=conf.screenshot_interval
)