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:
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user