event about looping

This commit is contained in:
Devaev Maxim 2020-09-22 01:21:06 +03:00
parent f4eabde86e
commit 50c2d9c1c5

View File

@ -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: