We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ab3b0 commit ce8dd7bCopy full SHA for ce8dd7b
zigpy_zigate/common.py
@@ -162,7 +162,7 @@ def async_run_in_executor(function):
162
"""Decorator to make a sync function async."""
163
164
async def replacement(*args):
165
- return asyncio.get_running_loop().run_in_executor(None, function, *args)
+ return await asyncio.get_running_loop().run_in_executor(None, function, *args)
166
167
replacement._sync_func = function
168
0 commit comments