Await aio_session close

This commit is contained in:
Dusty.P
2018-05-05 20:59:49 -08:00
parent 9fba3f1a76
commit b598118bba
+1 -1
View File
@@ -79,7 +79,7 @@ class Submitter(commands.Bot):
async def close(self): async def close(self):
await super().close() await super().close()
self.aio_session.close() # aiohttp is drunk and can't decide if it's a coro or not await self.aio_session.close()
bot = Submitter(description=description, case_insensitive=True) bot = Submitter(description=description, case_insensitive=True)