1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 02:48:23 +08:00

Delete Argument class, simplify GeneratedConfig

This commit is contained in:
LmeSzinc
2021-09-11 23:11:30 +08:00
parent 36e396367e
commit d3564104bd
5 changed files with 55 additions and 124 deletions

View File

@@ -566,9 +566,9 @@ class ResearchSelector(UI):
such as [object, object, object, 'reset']
"""
# Load filter string
preset = self.config.ResearchOutput_PresetFilter.value
preset = self.config.ResearchOutput_PresetFilter
if preset == 'custom':
string = self.config.ResearchOutput_CustomFilter.value
string = self.config.ResearchOutput_CustomFilter
else:
if preset not in DICT_FILTER_PRESET:
logger.warning(f'Preset not found: {preset}, use default preset')