Remove a double / in webkit1 activity's request's filenames

This commit is contained in:
Sam Parkinson 2014-06-07 21:17:15 +10:00 committed by Gonzalo Odiard
parent c70e5c678d
commit 6e81c67622

View File

@ -43,7 +43,7 @@ class LocalRequestHandler(BaseHTTPRequestHandler):
# Handler for the GET requests # Handler for the GET requests
def do_GET(self): def do_GET(self):
new_path = self.server.path + '/' + self.path new_path = self.server.path + self.path
if not os.path.exists(new_path): if not os.path.exists(new_path):
logging.error('file %s not found.', new_path) logging.error('file %s not found.', new_path)
self.send_response(404) self.send_response(404)