Use async sleep

This commit is contained in:
dave 2017-05-01 08:31:40 -07:00
parent 3b1eaae929
commit 706f789fdb
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class IRCCore(object):
if self.alive:
# TODO ramp down reconnect attempts"Reconnecting in 3s...")
await asyncio.sleep(3)
async def kill(self, message="Help! Another thread is killing me :("):
"""Send quit message, flush queue, and close the socket