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

Fix: add [at]wraps to retry_wrapper

to display actual function name in benchmark log output
This commit is contained in:
hgjazhgj
2022-04-13 16:53:37 +08:00
parent e8cd48b096
commit 0f96eb3bbc
5 changed files with 10 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
import json
from functools import wraps
import requests
from adbutils.errors import AdbError
@@ -17,6 +18,7 @@ class HermitError(Exception):
def retry(func):
@wraps(func)
def retry_wrapper(self, *args, **kwargs):
"""
Args: