Notebook catch all errors
This commit is contained in:
parent
9ade8e7499
commit
2dba7d5702
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue