mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Merge pull request #383 from nEEtdo0d/war_archives
Upd: Reduce excessive error output for failed archives entrance search
This commit is contained in:
commit
989d80b611
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.9 KiB |
@ -1,7 +1,6 @@
|
||||
from module.base.button import Button
|
||||
from module.base.utils import area_offset, get_color, random_rectangle_vector
|
||||
from module.campaign.campaign_base import CampaignBase as CampaignBase_
|
||||
from module.exception import ScriptEnd
|
||||
from module.logger import logger
|
||||
from module.ui.assets import WAR_ARCHIVES_CHECK
|
||||
from module.ui.page import page_archives
|
||||
@ -88,9 +87,10 @@ class CampaignBase(CampaignBase_):
|
||||
skip_first_screenshot=True)
|
||||
self.handle_stage_icon_spawn()
|
||||
else:
|
||||
raise ScriptEnd(
|
||||
'War Archives Entrance could not be found, respective server may not yet support this campaign')
|
||||
self.handle_stage_icon_spawn()
|
||||
logger.warning(
|
||||
'Respective server may not yet support the chosen War Archives campaign, check back in the next '
|
||||
'app update')
|
||||
exit(1)
|
||||
|
||||
# Subsequent runs all set False
|
||||
if self.first_run:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user