mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-21 05:35:35 +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)
|
items = self.shop_get_items(key=shop_type)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
selection = selection.replace(' ', '').split('>')
|
selection = selection.replace(' ', '').replace('\n', '').split('>')
|
||||||
selection = list(filter(''.__ne__, selection))
|
selection = list(filter(''.__ne__, selection))
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
logger.warning('shop_get_item_to_buy --> Invalid filter string '
|
logger.warning('shop_get_item_to_buy --> Invalid filter string '
|
||||||
|
|||||||
Reference in New Issue
Block a user