Skip to content

Commit dcfaa32

Browse files
committed
fix(tmux_cmd): Fix error in raise
1 parent 20b50c9 commit dcfaa32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtmux/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class tmux_cmd:
233233
def __init__(self, *args: t.Any, **kwargs: t.Any) -> None:
234234
tmux_bin = shutil.which("tmux")
235235
if not tmux_bin:
236-
raise (exc.TmuxCommandNotFound)
236+
raise exc.TmuxCommandNotFound()
237237

238238
cmd = [tmux_bin]
239239
cmd += args # add the command arguments to cmd

0 commit comments

Comments
 (0)