summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-22 01:21:06 +0300
committerDevaev Maxim <[email protected]>2020-09-22 04:42:39 +0300
commit50c2d9c1c57469946654f09f4fbd6ed82607bd51 (patch)
tree88b8a239ed95a135d4474921821ce5ce3d41b3c8 /kvmd
parentf4eabde86eb8b3e5894c8cd47228a944e6fc5c73 (diff)
event about looping
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/apps/kvmd/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/apps/kvmd/server.py b/kvmd/apps/kvmd/server.py
index 6f753418..1b3e2363 100644
--- a/kvmd/apps/kvmd/server.py
+++ b/kvmd/apps/kvmd/server.py
@@ -256,6 +256,7 @@ class KvmdServer(HttpServer): # pylint: disable=too-many-arguments,too-many-ins
for component in self.__components
if component.get_state
])
+ await self.__send_event(client.ws, "loop", {})
async for msg in client.ws:
if msg.type == aiohttp.web.WSMsgType.TEXT:
try: