1
0
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:
LmeSzinc
2022-01-23 15:42:40 +08:00
parent 65f166ad12
commit d7651559a9
4 changed files with 56 additions and 37 deletions

View File

@@ -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():