remove a debug print
This commit is contained in:
parent
abc05ba85e
commit
30f8f1263f
1
utils.py
1
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__()
|
||||
|
|
Loading…
Reference in New Issue