1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-18 17:13:34 +08:00

Opt: more strict failure check for restart sensitive tasks

This commit is contained in:
2024-09-01 02:13:03 +08:00
parent 83f0d9ab3a
commit 8db5e31d54
2 changed files with 2 additions and 1 deletions

View File

@@ -480,7 +480,7 @@
}, },
"StrictRestart": { "StrictRestart": {
"name": "Strict Restart", "name": "Strict Restart",
"help": "Error.StrictRestart.help" "help": "Stop Alas instead of restarting the game when running a sensitive task with an error.\nSensitive tasks include OpsiObscure, OpsiAbyssal and OpsiCrossMonth."
}, },
"OnePushConfig": { "OnePushConfig": {
"name": "Error notify config", "name": "Error notify config",

View File

@@ -136,6 +136,7 @@ class OperationSiren(OSMap):
logger.hr('OpSi reset', level=3) logger.hr('OpSi reset', level=3)
logger.info('Wait 1 minute in case the network gets stuck') logger.info('Wait 1 minute in case the network gets stuck')
self.device.sleep(60) self.device.sleep(60)
def false_func(*args, **kwargs): def false_func(*args, **kwargs):
return False return False