Use async connect(...)

This commit is contained in:
Pedro Ferreira
2017-08-01 19:32:36 +02:00
parent 679cfb3fa1
commit 5c7888e006
3 changed files with 4 additions and 4 deletions

View File

@@ -207,8 +207,8 @@ class PSClient(PSConnection):
self.connection.on_connect(self._on_connect)
self.loop = loop
def connect(self):
self.connection.connect()
async def connect(self):
await self.connection.connect()
class PSServer(PSConnection):