diff --git a/IPython/html/nbextensions.py b/IPython/html/nbextensions.py
index 651ed06..7a1a3fb 100644
--- a/IPython/html/nbextensions.py
+++ b/IPython/html/nbextensions.py
@@ -204,8 +204,6 @@ def install_nbextension(path, overwrite=False, symlink=False, user=False, prefix
archive = zipfile.ZipFile(path)
elif _safe_is_tarfile(path):
archive = tarfile.open(path)
- else:
- raise ValueError("Could not extract archive")
archive.extractall(nbext)
archive.close()
else: