From 21879d07232aa5115c5ce7b9e77fdc9a1e6d58b0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 30 Aug 2003 05:08:15 +0000 Subject: [PATCH] Turned off color if on a windows box. --- src/debug.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/debug.py b/src/debug.py index ba840bda3..9a89051a2 100644 --- a/src/debug.py +++ b/src/debug.py @@ -31,6 +31,8 @@ from fix import * +import sys + import os import os.path import sys @@ -61,7 +63,10 @@ tracefile = os.path.join(conf.logDir, 'trace.log') stderr = True # colorterm: True if the terminal run on is color. -colorterm = True +if sys.platform == 'win32': + colorterm = False +else: + colorterm = True # printf: True if printf debugging messages should be printed. printf = True