Wrap 'data' key in quotes.

llvm-svn: 101594
This commit is contained in:
Ted Kremenek 2010-04-17 00:37:35 +00:00
parent 9e9dd5c535
commit 6542feb92c

View File

@ -32,7 +32,7 @@ def main():
f.write("{ ");
f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
f.write(", \"sender\": \"{0}\" ".format(addr[0]))
f.write(", data: ")
f.write(", \"data\": ")
f.write(data)
f.write(" }\n")
f.flush()