This commit is contained in:
Kovid Goyal 2025-07-29 19:06:26 +05:30
parent e468885b03
commit f41091366e
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -467,7 +467,7 @@ def send_response_to_client(data: Any = None, error: str = '', peer_id: int = 0,
if peer_id > 0:
send_data_to_peer(peer_id, encode_response_for_peer(response))
elif window_id > 0:
w = get_boss().window_id_map[window_id]
w = get_boss().window_id_map.get(window_id)
if w is not None:
w.send_cmd_response(response)