From 30f8f1263f6313b87e28f8f86ad4aa2af7736d47 Mon Sep 17 00:00:00 2001 From: Kay Faraday Date: Sun, 3 Jul 2022 00:19:14 +0000 Subject: [PATCH] remove a debug print --- utils.py | 1 - 1 file changed, 1 deletion(-) 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__()