forked from OSchip/llvm-project
parent
bfd5a75b1c
commit
9e9dd5c535
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue