Skip to content

Commit 60f6cf1

Browse files
committed
chore(window.split_window): Move to f-string
1 parent 482d9ad commit 60f6cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libtmux/window.py

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

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

0 commit comments

Comments
 (0)