mirror of
https://github.com/progval/Limnoria.git
synced 2025-05-03 17:01:05 -05:00
Turned off color if on a windows box.
This commit is contained in:
parent
b2436f4a99
commit
21879d0723
@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
from fix import *
|
from fix import *
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
import sys
|
import sys
|
||||||
@ -61,7 +63,10 @@ tracefile = os.path.join(conf.logDir, 'trace.log')
|
|||||||
stderr = True
|
stderr = True
|
||||||
|
|
||||||
# colorterm: True if the terminal run on is color.
|
# 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 if printf debugging messages should be printed.
|
||||||
printf = True
|
printf = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user