Allow creation of the Fore class on Windows

This commit is contained in:
blink1073 committed 2014-01-12 07:53:06 -06:00
1 parent 4045e6f239
commit f47d529f76
1 file changed
+3 -1
+3 -1
View File
@@ -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 = ''