Skip to content

Commit

Permalink
yes, i am debugging on target
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLucas committed Mar 15, 2024
1 parent 125e86c commit a9f4aa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "vger"
version = "0.2.2"
version = "0.2.3"
description = "An execution framework for Jupyter environments."
authors = ["Joseph Lucas <joe@joetl.com>"]
license = "GPL-3.0-only"
Expand Down
4 changes: 2 additions & 2 deletions vger/attack.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def attack_session(self, session, code, silent=True, print_out=True):
ws_base_url = urlparse(self.connection.url)._replace(scheme="ws").geturl()
ws_url = (
ws_base_url
+ f'api/kernels/{jpy_sess['kernel']['id']}/channels?session_id={jpy_sess['id']}'
+ f"api/kernels/{jpy_sess['kernel']['id']}/channels?session_id={jpy_sess['id']}"
)
async with connect(
ws_url, extra_headers=self.connection.headers, close_timeout=5
Expand Down Expand Up @@ -113,7 +113,7 @@ async def snoop(self, session, timeout=60):
ws_base_url = urlparse(self.connection.url)._replace(scheme="ws").geturl()
ws_url = (
ws_base_url
+ f'api/kernels/{jpy_sess['kernel']['id']}/channels?session_id={jpy_sess['id']}'
+ f"api/kernels/{jpy_sess['kernel']['id']}/channels?session_id={jpy_sess['id']}"
)

async with connect(
Expand Down

0 comments on commit a9f4aa6

Please sign in to comment.