1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 19:07:01 +08:00
This commit is contained in:
2024-12-29 12:15:01 +08:00
32 changed files with 604 additions and 136 deletions

View File

@@ -1,3 +1,4 @@
import time
import typing as t
from functools import wraps
@@ -30,7 +31,7 @@ def retry(func):
for _ in range(RETRY_TRIES):
try:
if callable(init):
retry_sleep(_)
time.sleep(retry_sleep(_))
init()
return func(self, *args, **kwargs)
# Can't handle