Notebook catch all errors

This commit is contained in:
Lysandre
2020-10-15 12:21:32 +02:00
parent 9ade8e7499
commit 2dba7d5702

View File

@@ -153,7 +153,7 @@ try:
import IPython # noqa: F401
_in_notebook = True
except (ImportError, KeyError):
except: # noqa: E722
_in_notebook = False