Skip to content

Commit 17f17d1

Browse files
authored
Update IPython/core/crashhandler.py
1 parent 938e3ba commit 17f17d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IPython/core/crashhandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def __call__(
164164

165165
# Use this ONLY for developer debugging (keep commented out for release)
166166
# color_scheme = 'Linux' # dbg
167-
ipython_dir = getattr(self.app, "ipython_dir")
167+
ipython_dir = getattr(self.app, "ipython_dir", None)
168168
if ipython_dir is not None:
169169
assert isinstance(ipython_dir, str)
170170
rptdir = Path(ipython_dir)

0 commit comments

Comments
 (0)