mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
event about looping
This commit is contained in:
parent
f4eabde86e
commit
50c2d9c1c5
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user