diff options
author | Maxim Devaev <[email protected]> | 2024-10-26 15:51:33 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-10-26 15:51:33 +0300 |
commit | a84242c9bc5215c7230dd9552cbbeec786060ec3 (patch) | |
tree | 7918ea96b79a3e20f2142d5fac2cdf242c5ece80 /kvmd/apps | |
parent | 399712c6849b52efcb1b1ee9f4abdafa84c5812f (diff) |
AioExclusiveRegion API is sync now
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/kvmd/ugpio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/ugpio.py b/kvmd/apps/kvmd/ugpio.py index 11c60777..b5b4a621 100644 --- a/kvmd/apps/kvmd/ugpio.py +++ b/kvmd/apps/kvmd/ugpio.py @@ -185,7 +185,7 @@ class _GpioOutput: # pylint: disable=too-many-instance-attributes @aiotools.atomic_fg async def __run_action(self, wait: bool, name: str, func: Callable, *args: Any) -> None: if wait: - async with self.__region: + with self.__region: await func(*args) else: await aiotools.run_region_task( |