remove a debug print

This commit is contained in:
Kay Faraday 2022-07-03 00:19:14 +00:00
parent abc05ba85e
commit 30f8f1263f
1 changed files with 0 additions and 1 deletions

View File

@ -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__()