diff options
Diffstat (limited to 'kvmd/htserver.py')
-rw-r--r-- | kvmd/htserver.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/htserver.py b/kvmd/htserver.py index 63c82fcb..1ef3cc48 100644 --- a/kvmd/htserver.py +++ b/kvmd/htserver.py @@ -404,12 +404,12 @@ class HttpServer: break return ws.wsr - async def _broadcast_ws_event(self, event_type: str, event: (dict | None), legacy: (bool | None)=None) -> None: + async def _broadcast_ws_event(self, event_type: str, event: (dict | None)) -> None: if self.__ws_sessions: await asyncio.gather(*[ ws.send_event(event_type, event) for ws in self.__ws_sessions - if ws.is_alive() and (legacy is None or ws.kwargs.get("legacy") == legacy) + if ws.is_alive() ], return_exceptions=True) async def _close_all_wss(self) -> bool: |