Get rid of static in decorator

This commit is contained in:
Kiryl
2022-08-29 14:22:55 +03:00
parent 64d30b0ab8
commit 28612a0d38

View File

@@ -131,7 +131,6 @@ class Access:
f'status code:{response.status_code}')
return content
@staticmethod
def sleep(timeout: float, retry: int = 3):
def decorator(function):
"""Decorator sleeping timeout sec and makes 3 retries"""