mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Fix: [ALAS] Device.config was never updated during scheduler run
This commit is contained in:
1
alas.py
1
alas.py
@@ -521,6 +521,7 @@ class AzurLaneAutoScript:
|
|||||||
task = self.get_next_task()
|
task = self.get_next_task()
|
||||||
# Init device and change server
|
# Init device and change server
|
||||||
_ = self.device
|
_ = self.device
|
||||||
|
self.device.config = self.config
|
||||||
# Skip first restart
|
# Skip first restart
|
||||||
if self.is_first_task and task == 'Restart':
|
if self.is_first_task and task == 'Restart':
|
||||||
logger.info('Skip task `Restart` at scheduler start')
|
logger.info('Skip task `Restart` at scheduler start')
|
||||||
|
|||||||
Reference in New Issue
Block a user