1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 13:25:13 +00:00

fix: shop

This commit is contained in:
RedDeadDepresso 2024-01-10 21:11:17 +00:00
parent e615f4b839
commit e0b139cc2f

View File

@ -83,7 +83,7 @@ class Shop(ShopUI):
return ShopStatus.SELECT_SHOP return ShopStatus.SELECT_SHOP
return ShopStatus.END return ShopStatus.END
case ShopStatus.END: case ShopStatus.END:
if self.appear(page_shop.check_button): if self.appear(page_shop.check_button) and self.match_color(page_shop.check_button):
self.task.pop(0) self.task.pop(0)
return ShopStatus.SELECT_SHOP return ShopStatus.SELECT_SHOP
self.click_with_interval(BACK, interval=2) self.click_with_interval(BACK, interval=2)