From c2f2027d5f00347ea09de4bf490e0fa707a2a084 Mon Sep 17 00:00:00 2001 From: grey-cat-1908 Date: Tue, 19 Apr 2022 17:46:01 +0300 Subject: [PATCH] reformat: black formation --- melisa/core/ratelimiter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/melisa/core/ratelimiter.py b/melisa/core/ratelimiter.py index 6dc971e..fd928c3 100644 --- a/melisa/core/ratelimiter.py +++ b/melisa/core/ratelimiter.py @@ -65,9 +65,7 @@ class RateLimiter: if bucket.remaining == 0: sleep_time = time() - bucket.since_timestamp + bucket.reset_after - _logger.info( - "Waiting until rate limit for bucket %s is over.", bucket_id - ) + _logger.info("Waiting until rate limit for bucket %s is over.", bucket_id) await sleep(sleep_time)