You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
websocket.py: don't add useless ping arguments
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user