Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoda-x authored and Yoda-x committed Nov 8, 2018
1 parent 5283136 commit 38ce26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bellows/ezsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def cb(frame_name, response):
0,
)

async def formNetwork(self, parameters): # noqa: N802
async def formNetwork(self, parameters, queue=True): # noqa: N802
fut = asyncio.Future()

def cb(frame_name, response):
Expand All @@ -149,7 +149,7 @@ def cb(frame_name, response):
fut.set_result(response)

self.add_callback(cb)
v = await self._command('formNetwork', parameters)
v = await self._command('formNetwork', parameters, queue=queue)
if v[0] != t.EmberStatus.SUCCESS:
raise Exception("Failure forming network: %s" % (v, ))

Expand Down

0 comments on commit 38ce26f

Please sign in to comment.