changeset 86:6c18e0d12276

fix dump.py's sock.send()
author Matt Johnston <matt@ucc.asn.au>
date Wed, 11 Jul 2012 23:43:36 +0800
parents 3cd1ca6d0489
children 81b8c84344c4
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)