Fix issue #60: not all arguments converted

https://github.com/kanaka/websockify/issues/60

String formatting issue with wrapped cmds.
This commit is contained in:
Joel Martin 2012-09-21 07:28:08 -05:00
parent e6d8d8f242
commit ff736e9ad3
1 changed files with 1 additions and 1 deletions

View File

@ -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: