##// END OF EJS Templates
Don't overwrite the dest variable
Jason Grout -
Show More
@@ -232,8 +232,8 b' def install_nbextension(files, overwrite=False, symlink=False, user=False, prefi'
232 for file in files:
232 for file in files:
233 src = pjoin(parent, file)
233 src = pjoin(parent, file)
234 # print("%r, %r" % (dest_dir, file))
234 # print("%r, %r" % (dest_dir, file))
235 dest = pjoin(dest_dir, file)
235 dest_file = pjoin(dest_dir, file)
236 _maybe_copy(src, dest, verbose)
236 _maybe_copy(src, dest_file, verbose)
237 else:
237 else:
238 src = path
238 src = path
239 _maybe_copy(src, dest, verbose)
239 _maybe_copy(src, dest, verbose)
General Comments 0
You need to be logged in to leave comments. Login now