1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +08:00
This commit is contained in:
GH Action - Upstream Sync
2025-10-21 17:19:41 +00:00
15 changed files with 216 additions and 202 deletions

View File

@@ -146,7 +146,11 @@ class ModuleBase:
skip_first = False
else:
self.device.screenshot()
yield self.device.image
try:
yield self.device.image
except AttributeError:
self.device.screenshot()
yield self.device.image
def loop_hierarchy(self, skip_first=True):
"""