aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-11-20 02:37:00 -0500
committerRapptz <[email protected]>2019-11-20 02:37:00 -0500
commit1b040fd4baec09de41e4a906e4f285b27ea93347 (patch)
treef648e5bf406738e90ed061397589338810c4c362
parentFix all deprecation warnings for 3.8 (diff)
downloaddiscord.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.py2
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