Make script actually work.

llvm-svn: 101591
This commit is contained in:
Ted Kremenek 2010-04-17 00:33:24 +00:00
parent bfd5a75b1c
commit 9e9dd5c535
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def main():
break
else:
f.write("{ ");
f.write("\"time\": \"{0}\"".format(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
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)