summaryrefslogtreecommitdiff
path: root/kvmd/apps/pst/server.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-08-07 19:04:32 +0300
committerMaxim Devaev <[email protected]>2022-08-07 19:04:32 +0300
commitec9785b4be4afb8667e6968a0454aeca62a190e2 (patch)
tree0b5c7d1b03041867c78f5533a8dd8f488711b073 /kvmd/apps/pst/server.py
parentaa630988cc09f31d412a62c5480d4bec1a7c626e (diff)
simplified AioNotifier()
Diffstat (limited to 'kvmd/apps/pst/server.py')
-rw-r--r--kvmd/apps/pst/server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/pst/server.py b/kvmd/apps/pst/server.py
index 968d322d..a492a29b 100644
--- a/kvmd/apps/pst/server.py
+++ b/kvmd/apps/pst/server.py
@@ -96,10 +96,10 @@ class PstServer(HttpServer): # pylint: disable=too-many-arguments,too-many-inst
logger.info("On-Cleanup complete")
async def _on_ws_opened(self) -> None:
- await self.__notifier.notify()
+ self.__notifier.notify()
async def _on_ws_closed(self) -> None:
- await self.__notifier.notify()
+ self.__notifier.notify()
# ===== SYSTEM TASKS