mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Add: OpSi drop record
This commit is contained in:
3
alas.py
3
alas.py
@@ -16,7 +16,6 @@ from module.logger import logger
|
||||
|
||||
|
||||
class AzurLaneAutoScript:
|
||||
|
||||
stop_event: threading.Event = None
|
||||
|
||||
def __init__(self, config_name='alas'):
|
||||
@@ -296,7 +295,7 @@ class AzurLaneAutoScript:
|
||||
if seconds <= 0:
|
||||
logger.warning(f'Wait until {str(future)}, but sleep length < 0, skip waiting')
|
||||
return
|
||||
|
||||
|
||||
if self.stop_event is not None:
|
||||
self.stop_event.wait(seconds)
|
||||
if self.stop_event.is_set():
|
||||
|
||||
Reference in New Issue
Block a user