forked from VimPlug/jedi
Allow creation of the Fore class on Windows
This commit is contained in:
@@ -8,7 +8,9 @@ try:
|
|||||||
# Use colorama for nicer console output.
|
# Use colorama for nicer console output.
|
||||||
from colorama import Fore, init
|
from colorama import Fore, init
|
||||||
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:
|
except ImportError:
|
||||||
class Fore(object):
|
class Fore(object):
|
||||||
RED = ''
|
RED = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user