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:
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user