Skip to content

Commit 1db7f3c

Browse files
committed
chore(window.split_window): Move to f-string
1 parent ca53dde commit 1db7f3c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libtmux/window.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,7 @@ def split_window(
434434
'window_index',
435435
'window_id',
436436
] + formats.PANE_FORMATS
437-
tmux_formats = [
438-
('#{%%s}%s' % formats.FORMAT_SEPERATOR) % f
439-
for f in pformats
440-
]
437+
tmux_formats = [(f'#{{{f}}}{formats.FORMAT_SEPERATOR}') for f in pformats]
441438

442439
# '-t%s' % self.attached_pane.get('pane_id'),
443440
# 2013-10-18 LOOK AT THIS, rm'd it..

0 commit comments

Comments
 (0)