diff --git a/jtl-wafi-dashboard.py b/jtl-wafi-dashboard.py index 7f2a91e..f578941 100644 --- a/jtl-wafi-dashboard.py +++ b/jtl-wafi-dashboard.py @@ -909,7 +909,7 @@ async def dashboard_websocket(websocket: WebSocket): elif event_type == 'command.whois': # WHOIS ist Shop-unabhängig - nutze einen beliebigen Online-Agent agent_id = None - for aid, ws in manager.agents.items(): + for aid, ws in manager.agent_connections.items(): if ws: agent_id = aid break