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: