mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 00:57:01 +08:00
Opt: more strict failure check for restart sensitive tasks
This commit is contained in:
@@ -480,7 +480,7 @@
|
||||
},
|
||||
"StrictRestart": {
|
||||
"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": {
|
||||
"name": "Error notify config",
|
||||
|
||||
@@ -136,6 +136,7 @@ class OperationSiren(OSMap):
|
||||
logger.hr('OpSi reset', level=3)
|
||||
logger.info('Wait 1 minute in case the network gets stuck')
|
||||
self.device.sleep(60)
|
||||
|
||||
def false_func(*args, **kwargs):
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user