1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +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
for group in result.groups()]
else:
if not name.isnumeric():
logger.warning(f'Unable to parse shop item {name}; '
'check template asset and filter regexp')
raise ScriptError
# if not name.isnumeric():
# logger.warning(f'Unable to parse shop item {name}; '
# 'check template asset and filter regexp')
# raise ScriptError
continue
# Sometimes book's color and/or tier will be misidentified