Permalink
Browse files

Forgot to add basepath to the os.path.exists, otherwise it only sends

404 for the JS files
  • Loading branch information...
1 parent 7fe119b commit 3001fb5871767a6d8226d675b6a13e097ad844a3 @jamesgao committed Oct 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/frontend/html/kernelmanager.py
@@ -79,7 +79,7 @@ def do_GET(self):
page_text = Template(open(basepath + "notebook.html").read())
self.wfile.write(page_text.safe_substitute(client_id = client_id))
- elif os.path.exists(path):
+ elif os.path.exists(basepath+path):
self.send_response(200)
mime = mimetypes.guess_type(path)[0]
self.send_header("Content-type", mime)

0 comments on commit 3001fb5

Please sign in to comment.