Show More
@@ -75,11 +75,7 b' def check_nbextension(files, ipython_dir=None):' | |||||
75 | # one file given, turn it into a list |
|
75 | # one file given, turn it into a list | |
76 | files = [files] |
|
76 | files = [files] | |
77 |
|
77 | |||
78 | for file in files: |
|
78 | return all(os.path.exists(pjoin(nbext, f)) for f in files) | |
79 | if not os.path.exists(pjoin(nbext, file)): |
|
|||
80 | return False |
|
|||
81 |
|
||||
82 | return True |
|
|||
83 |
|
79 | |||
84 |
|
80 | |||
85 | def install_nbextension(files, overwrite=False, symlink=False, ipython_dir=None, verbose=1): |
|
81 | def install_nbextension(files, overwrite=False, symlink=False, ipython_dir=None, verbose=1): |
General Comments 0
You need to be logged in to leave comments.
Login now