Skip to content

Commit

Permalink
fix IPython import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabadi committed Sep 12, 2024
1 parent d8873f4 commit a52220c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cellarium/cas/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ def is_interactive_environment() -> bool:
shell = get_ipython().__class__.__name__
if shell in ["ZMQInteractiveShell", "TerminalInteractiveShell"]:
return True
except NameError:
except (ModuleNotFoundError, NameError):
pass
return False

0 comments on commit a52220c

Please sign in to comment.