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

Fix: Missing init() call in uiautomator2 retries (#2424)

This commit is contained in:
LmeSzinc
2023-03-31 00:48:35 +08:00
parent 61c6c69ea4
commit e295f08811
3 changed files with 8 additions and 5 deletions

View File

@@ -22,6 +22,7 @@ def retry(func):
try:
if callable(init):
retry_sleep(_)
init()
return func(self, *args, **kwargs)
# Can't handle
except RequestHumanTakeover: