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