Skip to content

Commit

Permalink
fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalbel committed Apr 9, 2024
1 parent 1224bc5 commit 51ac3ca
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ def _delete_variables(self, shell: PositronShell, variables_comm: DummyComm, nam
variables_comm.messages.clear()

def _view_in_connections_pane(self, variables_comm: DummyComm, path):
paths = [encode_access_key(p) for p in path]
msg = _make_msg("view", {"path": paths}, comm_id="dummy_comm_id")
encoded_paths = [encode_access_key(p) for p in path]
msg = _make_msg("view", {"path": encoded_paths}, comm_id="dummy_comm_id")
variables_comm.handle_msg(msg)
assert variables_comm.messages == [json_rpc_response({})]
variables_comm.messages.clear()
return tuple(path)
return tuple(encoded_paths)

0 comments on commit 51ac3ca

Please sign in to comment.