Turned off color if on a windows box.

This commit is contained in:
Jeremy Fincher 2003-08-30 05:08:15 +00:00
parent b2436f4a99
commit 21879d0723

View File

@ -31,6 +31,8 @@
from fix import *
import sys
import os
import os.path
import sys
@ -61,6 +63,9 @@ tracefile = os.path.join(conf.logDir, 'trace.log')
stderr = True
# colorterm: True if the terminal run on is color.
if sys.platform == 'win32':
colorterm = False
else:
colorterm = True
# printf: True if printf debugging messages should be printed.