reformat: black formation

This commit is contained in:
grey-cat-1908 2022-04-19 17:46:01 +03:00
parent f4f80ce354
commit c2f2027d5f

View file

@ -65,9 +65,7 @@ class RateLimiter:
if bucket.remaining == 0: if bucket.remaining == 0:
sleep_time = time() - bucket.since_timestamp + bucket.reset_after sleep_time = time() - bucket.since_timestamp + bucket.reset_after
_logger.info( _logger.info("Waiting until rate limit for bucket %s is over.", bucket_id)
"Waiting until rate limit for bucket %s is over.", bucket_id
)
await sleep(sleep_time) await sleep(sleep_time)