From 48bd917fc1bca09af86ade03e9f3ad6f1a7e3156 Mon Sep 17 00:00:00 2001 From: Morty Space Date: Mon, 30 May 2022 19:24:53 +0200 Subject: [PATCH] test: updated retry decorator --- tests/test_private.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_private.py b/tests/test_private.py index e7886f6..e68d197 100644 --- a/tests/test_private.py +++ b/tests/test_private.py @@ -22,7 +22,7 @@ def retry(times: int): nonlocal times while True: try: - return await f(*args, **kwargs) + return await f(account, *args, **kwargs) except Exception as exc: times -= 1 if not times: