Show More
@@ -204,8 +204,6 b' def install_nbextension(path, overwrite=False, symlink=False, user=False, prefix' | |||||
204 | archive = zipfile.ZipFile(path) |
|
204 | archive = zipfile.ZipFile(path) | |
205 | elif _safe_is_tarfile(path): |
|
205 | elif _safe_is_tarfile(path): | |
206 | archive = tarfile.open(path) |
|
206 | archive = tarfile.open(path) | |
207 | else: |
|
|||
208 | raise ValueError("Could not extract archive") |
|
|||
209 | archive.extractall(nbext) |
|
207 | archive.extractall(nbext) | |
210 | archive.close() |
|
208 | archive.close() | |
211 | else: |
|
209 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now