Skip to content

Commit

Permalink
Fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Jun 22, 2024
1 parent 380fb61 commit 6a0f4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/imjoy_rpc/hypha/pyodide_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def on_message(self, handler):
async def open(self):
"""Open the connection."""
if self._server_url.startswith("wss://local-hypha-server:"):
print("Using local websocket")
js.console.log("Connecting to local websocket " + self._server_url)
LocalWebSocket = js.eval("(" + local_websocket_patch + ")")
self._websocket = LocalWebSocket.new(self._server_url, self._client_id, self._workspace)
else:
Expand Down

0 comments on commit 6a0f4ca

Please sign in to comment.