telepot
telepot copied to clipboard
Coroutine 'ClientSession.close' was never awaited
Looks like there is a bug:
/usr/local/lib/python3.6/site-packages/telepot/aio/api.py:41: RuntimeWarning: coroutine 'ClientSession.close' was never awaited
https://github.com/nickoala/telepot/blob/master/telepot/aio/api.py#L41
Oops. Will fix it in next release.
Just realized, aiohttp.ClientSession.close()
has only become a coroutine a few months ago. I will also need to fix the aiohttp dependency.