diff options
| author | Rapptz <[email protected]> | 2019-11-20 02:37:00 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-11-20 02:37:00 -0500 |
| commit | 1b040fd4baec09de41e4a906e4f285b27ea93347 (patch) | |
| tree | f648e5bf406738e90ed061397589338810c4c362 | |
| parent | Fix all deprecation warnings for 3.8 (diff) | |
| download | discord.py-1b040fd4baec09de41e4a906e4f285b27ea93347.tar.xz discord.py-1b040fd4baec09de41e4a906e4f285b27ea93347.zip | |
Fix one more remaining loop passing for 3.8 in a Lock
| -rw-r--r-- | discord/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py index 978e133f..81d60a42 100644 --- a/discord/http.py +++ b/discord/http.py @@ -113,7 +113,7 @@ class HTTPClient: lock = self._locks.get(bucket) if lock is None: - lock = asyncio.Lock(loop=self.loop) + lock = asyncio.Lock() if bucket is not None: self._locks[bucket] = lock |