Notebook catch all errors
This commit is contained in:
@@ -153,7 +153,7 @@ try:
|
|||||||
import IPython # noqa: F401
|
import IPython # noqa: F401
|
||||||
|
|
||||||
_in_notebook = True
|
_in_notebook = True
|
||||||
except (ImportError, KeyError):
|
except: # noqa: E722
|
||||||
_in_notebook = False
|
_in_notebook = False
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user