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

Fix: Accept ship items in shop filter

This commit is contained in:
LmeSzinc
2022-12-04 00:48:57 +08:00
parent 1c9dab31b1
commit 157c340cb1

View File

@@ -58,10 +58,10 @@ class ShopItemGrid(ItemGrid):
if group is not None else None if group is not None else None
for group in result.groups()] for group in result.groups()]
else: else:
if not name.isnumeric(): # if not name.isnumeric():
logger.warning(f'Unable to parse shop item {name}; ' # logger.warning(f'Unable to parse shop item {name}; '
'check template asset and filter regexp') # 'check template asset and filter regexp')
raise ScriptError # raise ScriptError
continue continue
# Sometimes book's color and/or tier will be misidentified # Sometimes book's color and/or tier will be misidentified