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

Fix: func call typo; condition checking not valid

This commit is contained in:
nEEtdo0d
2022-04-12 23:02:37 -04:00
parent 272093e258
commit e8cd48b096

View File

@@ -158,7 +158,7 @@ class RewardGacha(GachaUI, GeneralShop, Retirement):
exit(1)
elif target_pool == 'event':
gacha_bottom_navbar = self._gacha_bottom_navbar(is_build=True)
if gacha_bottom_navbar.get_total == 3:
if gacha_bottom_navbar.get_total(main=self) == 3:
logger.warning('\'event\' is not available, default '
'to \'light\' pool')
target_pool = 'light'