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

Fix: Rework research receive to avoid unknown stuck

This commit is contained in:
LmeSzinc
2021-07-17 00:40:11 +08:00
parent 7884f9463f
commit 0b1b700b99
2 changed files with 63 additions and 97 deletions

View File

@@ -51,6 +51,12 @@ class Button:
def __eq__(self, other):
return str(self) == str(other)
def __hash__(self):
return hash(self.name)
def __bool__(self):
return True
@property
def button(self):
if self._button_offset is None: