From 94d3502555b09f143cbe8a4565854aad095a3c16 2015-01-27 21:22:41 From: Jason Grout Date: 2015-01-27 21:22:41 Subject: [PATCH] Cast the destination url to unicode in python2 Thanks to @takluyver for this review comment. --- diff --git a/IPython/html/nbextensions.py b/IPython/html/nbextensions.py index 7a1a3fb..e96db4f 100644 --- a/IPython/html/nbextensions.py +++ b/IPython/html/nbextensions.py @@ -209,6 +209,7 @@ def install_nbextension(path, overwrite=False, symlink=False, user=False, prefix else: if not destination: destination = basename(path) + destination = cast_unicode_py2(destination) full_dest = pjoin(nbext, destination) if overwrite and os.path.exists(full_dest): if verbose >= 1: