1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-24 00:55:56 +08:00

Fix: Check currency > 0 before shop_buy_execute()

This commit is contained in:
LmeSzinc
2021-12-21 23:25:25 +08:00
parent ee0dfedc95
commit e3dc859954
5 changed files with 13 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ class MedalShop(ShopBase):
"""
self._shop_medal = OCR_SHOP_MEDAL.ocr(self.device.image)
logger.info(f'Medal: {self._shop_medal}')
return self._shop_medal
@cached_property
def shop_medal_grid(self):