Skip to content

Commit 30f3687

Browse files
committed
python 2.6 compat: for .format in Server
1 parent cc8ce3e commit 30f3687

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tmuxp/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ def tmux(self, *args, **kwargs):
8181

8282
args = list(args)
8383
if self.socket_name:
84-
args.insert(0, '-L{}'.format(self.socket_name))
84+
args.insert(0, '-L{0}'.format(self.socket_name))
8585
if self.socket_path:
86-
args.insert(0, '-S{}'.format(self.socket_path))
86+
args.insert(0, '-S{0}'.format(self.socket_path))
8787
if self.config_file:
88-
args.insert(0, '-f{}'.format(self.config_file))
88+
args.insert(0, '-f{0}'.format(self.config_file))
8989
if self.colors:
9090
if self.colors == 256:
9191
args.insert(0, '-2')

0 commit comments

Comments
 (0)