changeset 392:1a5f2449f760

fix dump.py's sock.send()
author Matt Johnston <matt@ucc.asn.au>
date Wed, 11 Jul 2012 23:43:36 +0800
parents 5026780c2dc7
children afce71f829d6
files server/dump.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/server/dump.py	Wed Jul 11 23:42:24 2012 +0800
+++ b/server/dump.py	Wed Jul 11 23:43:36 2012 +0800
@@ -141,7 +141,7 @@
     args = sys.argv[1:]
     print "do_comms"
     for a in args:
-        sock.send('%s\n', a)
+        sock.send('%s\n' % a)
 
     while True:
         l = readline(sock)