Closed pontius-g closed 2 years ago
Thanks for this! Could you open a PR?
I could) but I see, there is no need. It was fixed in other way at main branch already. It seams, pip provides an old version and that is why got this issue.
Thanks
Ah, I'll have to make a new release then.
Hi
Trying to open websocket connection to webrepl, got the following error:
TypeError: ConWebsock.on_message() takes 2 positional arguments but 3 were given
it appeared, because there is a websocket object passed first to actual message:
(<websocket._app.WebSocketApp object at 0x000002C0B5ADA260>, 'OK')
the following correction of original function .on_mesage() in mp/conwebsock.py at line 75, fixed its behavior: