Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ $ pip install --user --upgrade --pre libtmux

<!-- Maintainers and contributors: Insert change notes for the next release above -->

### Bug fix

- `tmux_cmd()`: Fix raise of TmuxCommandNotFound (#450)

## libtmux 0.15.8 (2022-10-02)

### Bug fix
Expand Down
2 changes: 1 addition & 1 deletion src/libtmux/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class tmux_cmd:
def __init__(self, *args: t.Any, **kwargs: t.Any) -> None:
tmux_bin = shutil.which("tmux")
if not tmux_bin:
raise (exc.TmuxCommandNotFound)
raise exc.TmuxCommandNotFound()

cmd = [tmux_bin]
cmd += args # add the command arguments to cmd
Expand Down