From 28612a0d38c7291da60e0291a871fa6bb1b50d3b Mon Sep 17 00:00:00 2001 From: Kiryl Date: Mon, 29 Aug 2022 14:22:55 +0300 Subject: [PATCH] Get rid of static in decorator --- src/access.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/access.py b/src/access.py index f06f02c..379f47c 100644 --- a/src/access.py +++ b/src/access.py @@ -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"""