Skip to content

Commit fec95e4

Browse files
committed
fixing python2 incompatible code
1 parent 019f543 commit fec95e4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tmuxp/cli.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,12 +1085,10 @@ def format_tmux_resp(std_resp):
10851085
"""
10861086
Format tmux command response for tmuxp stdout.
10871087
"""
1088-
return '\n'.join(
1089-
[
1090-
*prepend_tab(std_resp.stdout),
1091-
click.style('\n'.join(prepend_tab(std_resp.stderr)), fg='red'),
1092-
]
1093-
)
1088+
return [
1089+
'\n'.join(prepend_tab(std_resp.stdout)),
1090+
click.style('\n'.join(prepend_tab(std_resp.stderr)), fg='red'),
1091+
]
10941092

10951093
output = [
10961094
output_break(),

0 commit comments

Comments
 (0)