1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-16 17:27:22 +08:00

Fix: De-redundant of urgent_box commissions

- Improve log appearance
- Add comment for commission properties
This commit is contained in:
LmeSzinc
2021-09-24 14:44:39 +08:00
parent 60f7a64066
commit 315b454362
2 changed files with 32 additions and 2 deletions

View File

@@ -219,7 +219,6 @@ class RewardCommission(UI, InfoHandler):
in: page_commission
out: page_commission, info_bar, commission details unfold
"""
logger.hr(f'Start commission', level=2)
self.interval_clear(COMMISSION_ADVICE)
self.interval_clear(COMMISSION_START)
comm_timer = Timer(7)
@@ -261,7 +260,7 @@ class RewardCommission(UI, InfoHandler):
comm (Commission):
is_urgent (bool):
"""
logger.hr('Commission find and start')
logger.hr('Commission find and start', level=2)
logger.info(f'Finding commission {comm}')
for _ in range(15):
new = self._commission_detect(self.device.image)