diff server/dump.py @ 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 56b1f02f470c
children de950be796dd
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)