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

Fix: Line breaks in filters in shop module

This commit is contained in:
LmeSzinc
2021-09-24 20:33:07 +08:00
parent 89bf271417
commit 77cc097b6f

View File

@@ -144,7 +144,7 @@ class ShopBase(UI):
items = self.shop_get_items(key=shop_type)
try:
selection = selection.replace(' ', '').split('>')
selection = selection.replace(' ', '').replace('\n', '').split('>')
selection = list(filter(''.__ne__, selection))
except AttributeError:
logger.warning('shop_get_item_to_buy --> Invalid filter string '