This commit is contained in:
Joscha 2018-07-25 20:56:03 +00:00
parent 1f5fc58e06
commit a971b7e064
3 changed files with 35 additions and 100 deletions

View file

@ -65,7 +65,7 @@ class Connection:
self._stopped = True
await self.reconnect() # _run() does the cleaning up now.
await self._runtask
async def reconnect(self):
"""
Reconnect to the url.