Fix more deprecation warnings for 3.8

This commit is contained in:
Rapptz committed 2019-11-26 05:19:11 -05:00
1 parent f554819506
commit c62b6c3e88
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ Doing something during cancellation:
def __init__(self, bot):
self.bot= bot
self._batch = []
self.lock = asyncio.Lock(loop=bot.loop)
self.lock = asyncio.Lock()
self.bulker.start()
async def do_bulk(self):