From ff736e9ad32ece44871410d4ed6061fb71c82927 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Fri, 21 Sep 2012 07:28:08 -0500 Subject: [PATCH] Fix issue #60: not all arguments converted https://github.com/kanaka/websockify/issues/60 String formatting issue with wrapped cmds. --- websockify/websocketproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websockify/websocketproxy.py b/websockify/websocketproxy.py index c792dbf..5dbe643 100755 --- a/websockify/websocketproxy.py +++ b/websockify/websocketproxy.py @@ -165,7 +165,7 @@ Traffic Legend: # Connect to the target if self.wrap_cmd: - msg = "connecting to command: %s" % (" ".join(self.wrap_cmd), self.target_port) + msg = "connecting to command: '%s' (port %s)" % (" ".join(self.wrap_cmd), self.target_port) elif self.unix_target: msg = "connecting to unix socket: %s" % self.unix_target else: