diff options
Diffstat (limited to 'cmd2/rl_utils.py')
-rw-r--r-- | cmd2/rl_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/rl_utils.py b/cmd2/rl_utils.py index e9557f01..048302ef 100644 --- a/cmd2/rl_utils.py +++ b/cmd2/rl_utils.py @@ -141,7 +141,7 @@ if 'pyreadline3' in sys.modules: elif 'gnureadline' in sys.modules or 'readline' in sys.modules: # We don't support libedit. See top of this file for why. - if 'libedit' not in readline.__doc__: + if readline.__doc__ is not None and 'libedit' not in readline.__doc__: try: # Load the readline lib so we can access members of it import ctypes |