diff --git a/utils.py b/utils.py index 3f618c3..bba0e17 100644 --- a/utils.py +++ b/utils.py @@ -43,7 +43,6 @@ class _RateLimitContextManager(contextlib.AbstractAsyncContextManager): if resp.headers.get('X-RateLimit-Remaining') not in {'0', '1'}: return resp - print('Hit rate limit for', self.args) await sleep_until(datetime.fromisoformat(resp.headers['X-RateLimit-Reset'])) await self._request_cm.__aexit__(*(None,)*3) return await self.__aenter__()