diff --git a/monome.py b/monome.py index 8b20d76..47e814c 100644 --- a/monome.py +++ b/monome.py @@ -613,7 +613,7 @@ def on_device_removed(self, id, type, port): pass async def autoconnect(self, app, grid_port): - transport, grid = await self._loop.create_datagram_endpoint(Grid, + transport, grid = await self.loop.create_datagram_endpoint(Grid, local_addr=('127.0.0.1', 0), remote_addr=('127.0.0.1', grid_port)) app.attach(grid)