mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user