STUPID!!!
This commit is contained in:
parent
1927feb37a
commit
3ff1411c18
1 changed files with 3 additions and 3 deletions
|
@ -220,11 +220,11 @@ class handler(BaseHTTPRequestHandler):
|
||||||
self.wfile.write(f)
|
self.wfile.write(f)
|
||||||
else:
|
else:
|
||||||
self.start_page(404)
|
self.start_page(404)
|
||||||
self.wfile.write(b"File: "+filename.encode("utf-8")+b" doen't exist")
|
self.wfile.write(b"File: "+filename.encode("utf-8")+b" doesn't exist")
|
||||||
|
|
||||||
elif self.path.startswith("/download_z/"):
|
elif self.path.startswith("/download_z/"):
|
||||||
|
|
||||||
filename = self.path[9:]
|
filename = self.path[11:]
|
||||||
fullfilename = PROJECT+filename
|
fullfilename = PROJECT+filename
|
||||||
|
|
||||||
|
|
||||||
|
@ -239,7 +239,7 @@ class handler(BaseHTTPRequestHandler):
|
||||||
self.wfile.write(z)
|
self.wfile.write(z)
|
||||||
else:
|
else:
|
||||||
self.start_page(404)
|
self.start_page(404)
|
||||||
self.wfile.write(b"File: "+filename.encode("utf-8")+b" doen't exist")
|
self.wfile.write(b"File: "+filename.encode("utf-8")+b" doesn't exist")
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue