summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 0b8f47a7..c8d3c7b9 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -76,7 +76,7 @@ except NameError:
ipython_available = True
try:
from IPython import embed
-except ModuleNotFoundError:
+except ImportError:
ipython_available = False
__version__ = '0.7.0'