We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tmux_cmd
2 parents 399f2e6 + 6848267 commit 4d75ab8Copy full SHA for 4d75ab8
CHANGES
@@ -14,6 +14,10 @@ $ pip install --user --upgrade --pre libtmux
14
15
<!-- Maintainers and contributors: Insert change notes for the next release above -->
16
17
+### Bug fix
18
+
19
+- `tmux_cmd()`: Fix raise of TmuxCommandNotFound (#450)
20
21
## libtmux 0.15.8 (2022-10-02)
22
23
### Bug fix
src/libtmux/common.py
@@ -233,7 +233,7 @@ class tmux_cmd:
233
def __init__(self, *args: t.Any, **kwargs: t.Any) -> None:
234
tmux_bin = shutil.which("tmux")
235
if not tmux_bin:
236
- raise (exc.TmuxCommandNotFound)
+ raise exc.TmuxCommandNotFound()
237
238
cmd = [tmux_bin]
239
cmd += args # add the command arguments to cmd
0 commit comments