1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-17 23:51:30 +08:00

Merge branch 'master' into dev

This commit is contained in:
LmeSzinc
2020-07-24 11:41:13 +08:00
3 changed files with 8 additions and 6 deletions

View File

@@ -597,7 +597,8 @@ class AzurLaneConfig:
# Event
option = config['Event']
self.EVENT_NAME = option['event_name']
if 'sp' in ''.join(os.listdir(f'./campaign/{self.EVENT_NAME}')):
name = ''.join(os.listdir(f'./campaign/{self.EVENT_NAME}'))
if 'sp1' in name or 'sp2' in name or 'sp3' in name:
self.CAMPAIGN_EVENT = option['sp_stage']
else:
self.CAMPAIGN_EVENT = option['event_stage']