From c6245b24553f9b7bc3aedf1661b90fd0baf3c135 Mon Sep 17 00:00:00 2001 From: wzcboss <947191263@qq.com> Date: Mon, 24 Jul 2017 17:18:05 +0800 Subject: [PATCH] remove ;in index.py --- compose/usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/usage.md b/compose/usage.md index e2e9c3a..76c5c05 100644 --- a/compose/usage.md +++ b/compose/usage.md @@ -62,7 +62,7 @@ class HandlerClass(SimpleHTTPRequestHandler): del request[addr_pair] request[addr_pair]=[num,ts] file=open("index.html", "w") - file.write("
#"+ str(request[pair][1]) +": "+str(request[pair][0])+ " requests " + "from <"+guest+"> to WebServer <"+pair[1]+">
") else: file.write("#"+ str(request[pair][1]) +": "+str(request[pair][0])+ " requests " + "from <"+guest+"> to WebServer <"+pair[1]+">
") - file.write(" "); + file.write(" ") file.close() pickle.dump(request,open("pickle_data.txt","w"))