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