Merge pull request #241 from toobaz/url_path_join_from_jupyter_notebook

Get url_path_join from jupyter_notebook
This commit is contained in:
Min RK
2015-04-24 15:51:11 -07:00

View File

@@ -14,7 +14,10 @@ from tornado import web, gen, ioloop
from tornado.httpclient import AsyncHTTPClient, HTTPError from tornado.httpclient import AsyncHTTPClient, HTTPError
from tornado.log import app_log from tornado.log import app_log
from IPython.html.utils import url_path_join try:
from jupyter_notebook.utils import url_path_join
except:
from IPython.html.utils import url_path_join
def random_port(): def random_port():