mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Merge pull request #241 from toobaz/url_path_join_from_jupyter_notebook
Get url_path_join from jupyter_notebook
This commit is contained in:
@@ -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():
|
||||||
|
Reference in New Issue
Block a user