Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 9, 2022
1 parent 4cb0041 commit a396346
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ipykernel/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
except ImportError:
_is_debugpy_available = False
except Exception as e:
from pydevd import _pydev_bundle
from _pydev_bundle._pydev_saved_modules import DebuggerInitializationError
from pydevd import _pydev_bundle

if isinstance(e, DebuggerInitializationError):
_is_debugpy_available = False
else:
Expand Down

0 comments on commit a396346

Please sign in to comment.