Get url_path_join from jupyter_notebook

This commit is contained in:
Pietro Battiston
2015-04-24 12:34:33 +02:00
parent 1674d2f698
commit fd6e6f1ded

View File

@@ -14,7 +14,10 @@ from tornado import web, gen, ioloop
from tornado.httpclient import AsyncHTTPClient, HTTPError
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():