websocket.py: don't add useless ping arguments

This commit is contained in:
Thomas Farstrike
2025-11-09 00:29:13 +01:00
parent 94479b866b
commit f3f975cba4
+1 -1
View File
@@ -330,7 +330,7 @@ class WebSocketApp:
raise WebSocketConnectionClosedException("WebSocket closed")
elif msg.type == ABNF.OPCODE_PING:
data = msg.data
_run_callback(self.on_ping, self, data, ABNF.OPCODE_PING, True)
_run_callback(self.on_ping, self, data)
async def _send_async(self, data, opcode):
"""Async send implementation."""