Skip to content

Commit

Permalink
code: fix CLI bug introduced in 0.14.14
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Sep 14, 2024
1 parent 7a41244 commit 8adfe98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions munet/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,9 @@ async def remote_cli(unet, prompt, title, background, remote_wait=False):
if remote_wait:
wait_tmux = bool(os.getenv("TMUX", ""))
wait_x11 = not wait_tmux and bool(os.getenv("DISPLAY", ""))
else:
wait_tmux = False
wait_x11 = False

# Open a new window with a new CLI
python_path = await unet.async_get_exec_path(["python3", "python"])
Expand Down
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 = "munet"
version = "0.14.14"
version = "0.14.15"
description = "A package to facilitate network simulations"
authors = ["Christian Hopps <[email protected]>"]
license = "GPL-2.0-or-later"
Expand Down

0 comments on commit 8adfe98

Please sign in to comment.