summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-10-26 15:51:33 +0300
committerMaxim Devaev <[email protected]>2024-10-26 15:51:33 +0300
commita84242c9bc5215c7230dd9552cbbeec786060ec3 (patch)
tree7918ea96b79a3e20f2142d5fac2cdf242c5ece80 /kvmd/apps
parent399712c6849b52efcb1b1ee9f4abdafa84c5812f (diff)
AioExclusiveRegion API is sync now
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/kvmd/ugpio.py2
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(