Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Oct 17, 2024
1 parent 94ab3b0 commit ce8dd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zigpy_zigate/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def async_run_in_executor(function):
"""Decorator to make a sync function async."""

async def replacement(*args):
return asyncio.get_running_loop().run_in_executor(None, function, *args)
return await asyncio.get_running_loop().run_in_executor(None, function, *args)

replacement._sync_func = function

Expand Down

0 comments on commit ce8dd7b

Please sign in to comment.