diff --git a/jedi/debug.py b/jedi/debug.py index 07a43644..d7861021 100644 --- a/jedi/debug.py +++ b/jedi/debug.py @@ -8,7 +8,9 @@ try: # Use colorama for nicer console output. from colorama import Fore, init init() - # does not work on Windows, as pyreadline and colorama interfere + # does not work on Windows, as pyreadline and colorama interfere + else: + raise ImportError except ImportError: class Fore(object): RED = ''