mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 14:27:00 +08:00
Fix: add [at]wraps to retry_wrapper
to display actual function name in benchmark log output
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import re
|
||||
from functools import wraps
|
||||
|
||||
from adbutils.errors import AdbError
|
||||
|
||||
@@ -9,6 +10,7 @@ from module.logger import logger
|
||||
|
||||
|
||||
def retry(func):
|
||||
@wraps(func)
|
||||
def retry_wrapper(self, *args, **kwargs):
|
||||
"""
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user