Notebook catch all errors

This commit is contained in:
Lysandre 2020-10-15 12:21:32 +02:00
parent 9ade8e7499
commit 2dba7d5702
1 changed files with 1 additions and 1 deletions

View File

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