##// END OF EJS Templates
Fix the path we use when walking to include the path separator...
Jason Grout -
Show More
@@ -223,6 +223,7 b' def install_nbextension(files, overwrite=False, symlink=False, user=False, prefi'
223 continue
223 continue
224
224
225 if os.path.isdir(path):
225 if os.path.isdir(path):
226 path = pjoin(os.path.abspath(path), '') # end in path separator
226 for parent, dirs, files in os.walk(path):
227 for parent, dirs, files in os.walk(path):
227 dest_dir = pjoin(dest, parent[len(path):])
228 dest_dir = pjoin(dest, parent[len(path):])
228 if not os.path.exists(dest_dir):
229 if not os.path.exists(dest_dir):
General Comments 0
You need to be logged in to leave comments. Login now